diff options
author | Rodeo <[email protected]> | 2013-12-05 19:58:36 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-12-05 19:58:36 +0000 |
commit | c828c40cda553c822560cea5c72522812036abda (patch) | |
tree | f1b32c18b5a93ac923c2dbda0b624b6a4acb82e2 /libhb | |
parent | 3d3dfd8db548a1506925e409b810dc7b9ba6ee41 (diff) |
stream: don't treat attached artwork as valid video tracks, which they aren't.
Fortunately, there's a flag for that.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5921 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/stream.c b/libhb/stream.c index 936637147..1cb45fcad 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5553,6 +5553,7 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title ) for (i = 0; i < ic->nb_streams; ++i ) { if ( ic->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && + !(ic->streams[i]->disposition & AV_DISPOSITION_ATTACHED_PIC) && avcodec_find_decoder( ic->streams[i]->codec->codec_id ) && title->video_codec == 0 ) { |