summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-12-14 16:45:30 +0000
committerjstebbins <[email protected]>2009-12-14 16:45:30 +0000
commit4d312d2288983fd54866c447e667cbcedd0b9cbe (patch)
tree27ee8529aa090c68d6b7ec0895da20b7cc310a48 /libhb
parentffb46ad854c4f5a09597ff56a981841cfef6291a (diff)
bump ffmpeg to svn 20817
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3028 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/stream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index da2e5791d..d1244f5ee 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -2929,6 +2929,10 @@ static int ffmpeg_read( hb_stream_t *stream, hb_buffer_t *buf )
{
buf->start = buf->renderOffset;
}
+ else if ( buf->renderOffset == -1 && buf->start >= 0 )
+ {
+ buf->renderOffset = buf->start;
+ }
/*
* Check to see whether this video buffer is on a chapter