Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Select the "best" video tracks available for playback
Optimize and speed-up the detection and handling of video streams. Every video streams used to be opened during the scan, and the last one found would be use.
This commit change the behavior as follow:
Scan all streams.
Once scan is completed, search for the best video stream using FFmpeg convenience method av_find_best_stream. And only open the code and initialise the video output for that particular stream.

Also, should an error occur while scanning a particular stream, it is now simply ignored instead of completely stopping the scan.
  • Loading branch information
jyavenard committed Dec 13, 2012
1 parent 1b2fb3c commit a1eac71
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 192 deletions.

0 comments on commit a1eac71

Please sign in to comment.