summaryrefslogtreecommitdiffstats
path: root/libhb/encx264.c
diff options
context:
space:
mode:
authorsaintdev <[email protected]>2008-03-05 00:29:09 +0000
committersaintdev <[email protected]>2008-03-05 00:29:09 +0000
commit3e92b874fa90eccd2ccda75294c1bc985e9246ef (patch)
tree74b38b41741f525dd2a4ef96dfbcacfbc2c2332f /libhb/encx264.c
parent3c6320cb60b635e2dd2d14862f3a784d38237f4b (diff)
encx264: Fix timecodes when using x264 with avi.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1326 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r--libhb/encx264.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index d61f2808b..8f976748d 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -528,13 +528,12 @@ int encx264Work( hb_work_object_t * w, hb_buffer_t ** buf_in,
b-frames with the CTTS atom. */
buf->renderOffset = pic_out.i_pts - dts_start + pv->init_delay;
- /* Send out the next dts values */
- buf->start = dts_start;
- buf->stop = dts_stop;
-
buf->size += size;
}
}
+ /* Send out the next dts values */
+ buf->start = dts_start;
+ buf->stop = dts_stop;
}
else