summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-01-01 18:50:48 +0000
committerjbrjake <[email protected]>2008-01-01 18:50:48 +0000
commit8aabbd025eea6548722ac05f944e989af90b317c (patch)
tree89019a037d1fa0b843eba43a4e8530f3e4e016e3 /libhb
parent18e93dcf5a1fc492b3fcdf78d9e85e3a26f990c6 (diff)
Only drop frames when using VFR, not with regular detelecine.
*facepalm* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1158 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/render.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libhb/render.c b/libhb/render.c
index 274314e02..856e46719 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -246,12 +246,16 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
}
else if( result == FILTER_DROP )
{
- hb_fifo_get( pv->subtitle_queue );
- buf_tmp_in = NULL;
if( job->vfr )
{
pv->frames_to_extend += 4;
pv->dropped_frames++;
+ hb_fifo_get( pv->subtitle_queue );
+ buf_tmp_in = NULL;
+ }
+ else
+ {
+ buf_tmp_in = buf_tmp_out;
}
break;
}