summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-03-07 22:14:38 +0000
committerRodeo <[email protected]>2013-03-07 22:14:38 +0000
commita1fc0a99c80d60f9f6385993e33b221f0a7e7bf5 (patch)
tree047cc6ff62ce20136c0f793f90794a517804ebf0 /test/test.c
parentef0a2e9eff8524621c743e7fbfaa70f14139eabd (diff)
CLI: fix Auto Passthru for built-in presets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5310 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/test.c b/test/test.c
index 9431d7f41..54f704f78 100644
--- a/test/test.c
+++ b/test/test.c
@@ -749,9 +749,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 720;
maxHeight = 576;
@@ -819,9 +819,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 320;
maxHeight = 240;
@@ -885,9 +885,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 960;
maxHeight = 640;
@@ -955,9 +955,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 1280;
maxHeight = 720;
@@ -1025,9 +1025,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 960;
maxHeight = 720;
@@ -1099,9 +1099,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 1280;
maxHeight = 720;
@@ -1169,9 +1169,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 1920;
maxHeight = 1080;
@@ -1240,9 +1240,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 720;
maxHeight = 576;
@@ -1308,9 +1308,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
maxWidth = 1280;
maxHeight = 720;
@@ -1374,9 +1374,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
if (x264_preset == NULL)
{
@@ -1440,9 +1440,9 @@ static int HandleEvents( hb_handle_t * h )
allowed_audio_copy |= HB_ACODEC_MP3_PASS;
allowed_audio_copy &= HB_ACODEC_PASS_MASK;
}
- if( !acodec_fallback )
+ if( acodec_fallback == NULL )
{
- acodec_fallback = HB_ACODEC_AC3;
+ acodec_fallback = "ffac3";
}
if (x264_preset == NULL)
{