From b081b54e1f2dd7b0c30fdf8a41724f57725cb1e9 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 27 Mar 2010 00:12:58 +0000 Subject: fix sporadic incorrect bitrate calculation of muxed tracks git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3173 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/muxcommon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libhb/muxcommon.c b/libhb/muxcommon.c index a5ee9b0ba..1d27df64e 100644 --- a/libhb/muxcommon.c +++ b/libhb/muxcommon.c @@ -185,9 +185,10 @@ static void OutputTrackChunk( hb_mux_t *mux, hb_track_t *track, hb_mux_object_t while ( ( buf = mf_peek( track ) ) != NULL && buf->start < mux->pts ) { - m->mux( m, track->mux_data, mf_pull( track ) ); + buf = mf_pull( track ); track->frames += 1; track->bytes += buf->size; + m->mux( m, track->mux_data, buf ); } } -- cgit v1.2.3