summaryrefslogtreecommitdiffstats
path: root/libhb/bd.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-08-01 17:14:49 +0000
committerjstebbins <[email protected]>2011-08-01 17:14:49 +0000
commitac3e2eaf6d6deb4ce9b86ce38a3715b3d8968da1 (patch)
treef1fa6a960187f5421f7906191e42d5e025329ea1 /libhb/bd.c
parent1074fcda1a9bc39939c9a2bd3eb346b621b4da19 (diff)
libhb: fix some log spam when scanning h.264 BDs
Some residual data from the previous preview was being sent to the decoder after a seek causing the decoder to complain. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4147 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/bd.c')
-rw-r--r--libhb/bd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/bd.c b/libhb/bd.c
index 4eb9fceb6..d61e5217a 100644
--- a/libhb/bd.c
+++ b/libhb/bd.c
@@ -520,6 +520,7 @@ int hb_bd_seek( hb_bd_t * d, float f )
bd_seek(d->bd, packet * 192);
d->next_chap = bd_get_current_chapter( d->bd ) + 1;
+ hb_ts_stream_reset(d->stream);
return 1;
}