From 4c0d9c5d6aaa7eae9945e98e38008ddf68a4bd4a Mon Sep 17 00:00:00 2001 From: Rodeo Date: Thu, 4 Apr 2013 15:35:05 +0000 Subject: [PATCH] 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 --- libhb/work.c | 7 +++---- 1 file 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 ) -- 2.40.0