diff options
author | jstebbins <[email protected]> | 2011-03-19 20:58:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-19 20:58:01 +0000 |
commit | 24d2785ae92568533caed9528944167ca27e8905 (patch) | |
tree | 6449a94ad4a22c66bfaddc8df9bce45080ceceb8 /test | |
parent | de22836e9e399616ea04051eabd8b8cbedb4e8cb (diff) |
Add mpeg-2 encoding support to libhb, cli, and lingui
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3853 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index e957c7cd7..c6363a036 100644 --- a/test/test.c +++ b/test/test.c @@ -61,7 +61,7 @@ static char * decomb_opt = 0; static int rotate = 0; static char * rotate_opt = 0; static int grayscale = 0; -static int vcodec = HB_VCODEC_FFMPEG; +static int vcodec = HB_VCODEC_FFMPEG_MPEG4; static hb_list_t * audios = NULL; static hb_audio_config_t * audio = NULL; static int num_audio_tracks = 0; @@ -3169,7 +3169,15 @@ static int ParseOptions( int argc, char ** argv ) case 'e': if( !strcasecmp( optarg, "ffmpeg" ) ) { - vcodec = HB_VCODEC_FFMPEG; + vcodec = HB_VCODEC_FFMPEG_MPEG4; + } + else if( !strcasecmp( optarg, "ffmpeg4" ) ) + { + vcodec = HB_VCODEC_FFMPEG_MPEG4; + } + else if( !strcasecmp( optarg, "ffmpeg2" ) ) + { + vcodec = HB_VCODEC_FFMPEG_MPEG2; } else if( !strcasecmp( optarg, "x264" ) ) { |