diff options
author | jbrjake <[email protected]> | 2008-01-01 18:50:48 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-01-01 18:50:48 +0000 |
commit | 8aabbd025eea6548722ac05f944e989af90b317c (patch) | |
tree | 89019a037d1fa0b843eba43a4e8530f3e4e016e3 /libhb/render.c | |
parent | 18e93dcf5a1fc492b3fcdf78d9e85e3a26f990c6 (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/render.c')
-rw-r--r-- | libhb/render.c | 8 |
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; } |