diff options
author | jbrjake <[email protected]> | 2008-06-05 15:59:24 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-06-05 15:59:24 +0000 |
commit | 44c4de92be3a9ec7c18903b0453e477f379e430b (patch) | |
tree | dbb9dccc050a853faa5e39016dfcf6a21165751f /libhb/sync.c | |
parent | 4576706b8db62654aa4ab529eca0c5b5ad4488b1 (diff) |
Adds a job->cfr boolean to indicate "encode this with a constant frame rate" instead of passing through the true frame durations from the source. Includes CLI implementation, which sets cfr to 1 if the user specifies a frame rate. Otherwise, it uses "same as source" frame rate.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1496 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r-- | libhb/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index f9c738bdf..0b0852bc5 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -512,7 +512,7 @@ static int SyncVideo( hb_work_object_t * w ) } int64_t duration; - if ( job->mux & HB_MUX_AVI || job->title->rate_base != job->vrate_base ) + if ( job->mux & HB_MUX_AVI || job->cfr ) { /* * The concept of variable frame rate video was a bit too advanced |