summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-01-17 18:57:16 +0000
committerjstebbins <[email protected]>2011-01-17 18:57:16 +0000
commitcc8b3643ceb7da7bb82af0722aa33c5f7d2c02a2 (patch)
tree98efa6af26889560d5f7b739673e2be569639715 /libhb/stream.c
parent95c87ada9f0cd75956fd9a7b9b2bd1978d5ed1da (diff)
fix ffmpeg multiple audio decode issue
we can now have one ffmpeg audio input track fan out to multiple output tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3753 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 7d9b016cc..c90f9490a 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -1461,7 +1461,7 @@ int hb_stream_seek_chapter( hb_stream_t * stream, int chapter_num )
// that causes the problem. since hb_stream_seek_chapter
// is called before we start reading, make sure
// we do a seek here.
- av_seek_frame( stream->ffmpeg_ic, -1, ffmpeg_initial_timestamp( stream ), AVSEEK_FLAG_BACKWARD );
+ av_seek_frame( stream->ffmpeg_ic, -1, ffmpeg_initial_timestamp( stream ), AVSEEK_FLAG_BACKWARD | AVSEEK_FLAG_ANY );
}
return 1;
}