diff options
author | Rodeo <[email protected]> | 2013-11-08 15:45:03 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-11-08 15:45:03 +0000 |
commit | 6eeb619280e58feceed314a3d5864c4e17e62c11 (patch) | |
tree | 46090b95a6920475dbd337a997509b6a1090fe51 /test | |
parent | c7be682975ec4a26c7bb5cf143bf3b29a1a004d8 (diff) |
New getters for video presets, tunes, profiles and levels.
x264 is no longer the only encoder with a built-in preset system; QSV has its own presets, and supports setting the H.264 profile and level, too.
Old getters still in place for compatibility with the old API..
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5883 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test.c b/test/test.c index 826528172..1b1bb14ef 100644 --- a/test/test.c +++ b/test/test.c @@ -3143,7 +3143,7 @@ static void ShowHelp() fprintf( out, " --x264-preset When using x264, selects the x264 preset:\n" " <string> "); - x264_opts = hb_x264_presets(); + x264_opts = hb_video_encoder_get_presets(HB_VCODEC_X264); tmp[0] = 0; len = 0; while( x264_opts && *x264_opts ) @@ -3164,7 +3164,7 @@ static void ShowHelp() fprintf( out, " --x264-tune When using x264, selects the x264 tuning:\n" " <string> "); - x264_opts = hb_x264_tunes(); + x264_opts = hb_video_encoder_get_tunes(HB_VCODEC_X264); tmp[0] = 0; len = 0; while( x264_opts && *x264_opts ) @@ -3188,7 +3188,7 @@ if (hb_qsv_available()) fprintf(out, " --qsv-preset When using QSV, selects the QSV preset:\n" " <string> "); - x264_opts = hb_qsv_presets(); + x264_opts = hb_video_encoder_get_presets(HB_VCODEC_QSV_H264); tmp[0] = 0; len = 0; while (x264_opts != NULL && *x264_opts != NULL) @@ -3232,7 +3232,7 @@ else " --h264-profile When using H.264, ensures compliance with the\n" " <string> specified H.264 profile:\n" " "); - x264_opts = hb_h264_profiles(); + x264_opts = hb_video_encoder_get_profiles(HB_VCODEC_X264); tmp[0] = 0; len = 0; while( x264_opts && *x264_opts ) @@ -3254,7 +3254,7 @@ else " --h264-level When using H.264, ensures compliance with the\n" " <string> specified H.264 level:\n" " "); - x264_opts = hb_h264_levels(); + x264_opts = hb_video_encoder_get_levels(HB_VCODEC_X264); tmp[0] = 0; len = 0; while( x264_opts && *x264_opts ) |