diff options
author | Rodeo <[email protected]> | 2013-07-13 18:16:00 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-07-13 18:16:00 +0000 |
commit | 8228a6411ed3c76d521dc398ddb5329154786f43 (patch) | |
tree | f6314fa9a64726b5c5cd1c781d46725456145b27 /libhb/work.c | |
parent | 00b5d615c59958cb0078a6d3d8a126337335b734 (diff) |
Add hb_video_quality_get_limits and hb_video_quality_get_name to libhb API.
Includes a MacGui implementation.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5647 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c index 433e9c5c3..b23a3619a 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -318,9 +318,10 @@ void hb_display_job_info(hb_job_t *job) hb_log( " + h264 level: %s", job->h264_level ); } - if( job->vquality >= 0 ) + if (job->vquality >= 0) { - hb_log( " + quality: %.2f %s", job->vquality, job->vcodec == HB_VCODEC_X264 ? "(RF)" : "(QP)" ); + hb_log(" + quality: %.2f (%s)", job->vquality, + hb_video_quality_get_name(job->vcodec)); } else { |