summaryrefslogtreecommitdiffstats
path: root/libhb/render.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-02-18 06:16:40 +0000
committerjbrjake <[email protected]>2008-02-18 06:16:40 +0000
commit0e7abb138fb887c0867ec4d15d57bb5ab0f5a3b4 (patch)
tree308ad82b8c055fc3dbe4f1d2666b26f73472eaf1 /libhb/render.c
parent7372bd17e23ee316fe9f96f017d03c2da5043c47 (diff)
You know what I said in r1271 about not using the delay_queue except when VFR is enabled? This time, I mean it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1283 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/render.c')
-rw-r--r--libhb/render.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libhb/render.c b/libhb/render.c
index 5ca6db932..d42f14572 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -396,7 +396,7 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
hb_buffer_copy_settings( buf_render, buf_tmp_in );
}
- if (*buf_out)
+ if (*buf_out && job->vfr)
{
hb_fifo_push( pv->delay_queue, *buf_out );
*buf_out = NULL;
@@ -414,10 +414,6 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
*buf_out = hb_fifo_get( pv->delay_queue );
}
}
- else
- {
- *buf_out = hb_fifo_get( pv->delay_queue );
- }
if( *buf_out && job->vfr)
{