summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-01 20:30:15 +0000
committerjstebbins <[email protected]>2015-05-01 20:30:15 +0000
commit764431388bfd0cd967b67ba698d27ed0502632a6 (patch)
tree6bfa90875044d0716e26e97db5b7b0ebcdf8eb70
parentcc40ab0f698c74a87fcb7d6ac0c61b4dee88cbf1 (diff)
stream: fix TS parsing after a seek
This error was causing some garbled preview frames git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7148 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 166830a5d..be214c4bc 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -4951,6 +4951,7 @@ void hb_ts_stream_reset(hb_stream_t *stream)
stream->ts.list[i].buf->size = 0;
stream->ts.list[i].skipbad = 1;
stream->ts.list[i].continuity = -1;
+ stream->ts.list[i].pes_info_valid = 0;
}
stream->need_keyframe = 1;