Changeset 4736


Ignore:
Timestamp:
Feb 1, 2011, 8:47:55 PM (10 years ago)
Author:
Sam Hocevar
Message:

Only use first stream in the storyboard code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/examples/storyboard.c

    r4695 r4736  
    7474    for(i = 0; stream == -1 && i < (int)fmt->nb_streams; i++)
    7575        if(fmt->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO)
     76        {
    7677            stream = i;
     78            break;
     79        }
    7780    if(stream == -1)
    7881        return EXIT_FAILURE;
Note: See TracChangeset for help on using the changeset viewer.