summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2014-01-12 23:46:44 +0000
committerRodeo <[email protected]>2014-01-12 23:46:44 +0000
commitcd00b6f50ede70a9edef1785dd8c74e1d3ab4dad (patch)
tree918b5b6a7e31c45a1b3b8432f1f5c4f969f17a81 /test/test.c
parent17917becc0cbf9ed402e9071935ae32b1d78fef7 (diff)
Revert previous commit, sorry.
I forgot about capabilities, we can't just swap the preferred implementation like that. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5965 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/test.c b/test/test.c
index 282788abe..6fcc2e404 100644
--- a/test/test.c
+++ b/test/test.c
@@ -3765,7 +3765,6 @@ static int ParseOptions( int argc, char ** argv )
#define QSV_BASELINE 290
#define QSV_ASYNC_DEPTH 291
#define QSV_PRESET 292
- #define QSV_IMPLEMENTATION 293
for( ;; )
{
@@ -3781,7 +3780,6 @@ static int ParseOptions( int argc, char ** argv )
{ "qsv-preset", required_argument, NULL, QSV_PRESET, },
{ "qsv-baseline", no_argument, NULL, QSV_BASELINE, },
{ "qsv-async-depth", required_argument, NULL, QSV_ASYNC_DEPTH, },
- { "qsv-implementation", required_argument, NULL, QSV_IMPLEMENTATION, },
{ "disable-qsv-decoding", no_argument, &qsv_decode, 0, },
#endif
@@ -4429,46 +4427,6 @@ static int ParseOptions( int argc, char ** argv )
case QSV_PRESET:
qsv_preset = strdup(optarg);
break;
- case QSV_IMPLEMENTATION:
- if( optarg != NULL )
- {
- if (!strcasecmp(optarg, "auto"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_AUTO_ANY|MFX_IMPL_VIA_ANY);
- }
- else if (!strcasecmp(optarg, "auto1"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_AUTO|MFX_IMPL_VIA_ANY);
- }
- else if (!strcasecmp(optarg, "software"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_SOFTWARE);
- }
- else if (!strcasecmp(optarg, "hardware"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_HARDWARE_ANY|MFX_IMPL_VIA_ANY);
- }
- else if (!strcasecmp(optarg, "hardware1"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_HARDWARE|MFX_IMPL_VIA_ANY);
- }
- else if (!strcasecmp(optarg, "hardware2"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_HARDWARE2|MFX_IMPL_VIA_ANY);
- }
- else if (!strcasecmp(optarg, "hardware3"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_HARDWARE3|MFX_IMPL_VIA_ANY);
- }
- else if (!strcasecmp(optarg, "hardware4"))
- {
- hb_qsv_impl_set_preferred(MFX_IMPL_HARDWARE4|MFX_IMPL_VIA_ANY);
- }
- else
- {
- hb_qsv_impl_set_preferred(atoi(optarg));
- }
- } break;
#endif
default:
fprintf( stderr, "unknown option (%s)\n", argv[cur_optind] );