summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-04-04 15:35:05 +0000
committerRodeo <[email protected]>2013-04-04 15:35:05 +0000
commit4c0d9c5d6aaa7eae9945e98e38008ddf68a4bd4a (patch)
treeea815da88e35d9e745d025dd0f5f743909646db1 /libhb/work.c
parent9a47938ffa17f35db35a0ce4bbb512c0f4ff24ba (diff)
We support encoder options for everything but Theora, so simplify the check a bit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5379 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 689e474ca..b508f0929 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -332,11 +332,10 @@ void hb_display_job_info( hb_job_t * job )
{
hb_log( " + x264 tune: %s", job->x264_tune );
}
- if( job->advanced_opts && *job->advanced_opts &&
- ( ( job->vcodec & HB_VCODEC_FFMPEG_MASK ) ||
- ( job->vcodec == HB_VCODEC_X264 ) ) )
+ if (job->advanced_opts != NULL && *job->advanced_opts &&
+ (job->vcodec != HB_VCODEC_THEORA))
{
- hb_log( " + options: %s", job->advanced_opts );
+ hb_log(" + options: %s", job->advanced_opts);
}
if( job->h264_profile && *job->h264_profile &&
job->vcodec == HB_VCODEC_X264 )