summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-04-16 16:58:57 +0000
committerjbrjake <[email protected]>2007-04-16 16:58:57 +0000
commit1b38e1511ba75646540f6d2b90b21713614de392 (patch)
treed82a8a528f2c1d6201167d26e5615b5a23b0d145 /libhb/work.c
parenta715de4c2ff593e121fbfa394409eff4e493415b (diff)
Much better B-frame muxing frame-reordering. This will preserve the sps/pps info, properly offset the first frame, and flush any remaining frames at the end of the encode.
Patch by: Nyx git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@513 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 1ab422a66..a4dcb4514 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -447,7 +447,7 @@ static void do_job( hb_job_t * job, int cpu_count )
if( done &&
!hb_fifo_size( job->fifo_sync ) &&
!hb_fifo_size( job->fifo_render ) &&
- hb_fifo_size( job->fifo_mpeg4 ) < 2 )
+ !hb_fifo_size( job->fifo_mpeg4 ) )
{
break;
}