diff options
author | dynaflash <[email protected]> | 2007-09-27 12:20:05 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-09-27 12:20:05 +0000 |
commit | 82cb9ecad1eff3cbde808a6d58626450431d4a5e (patch) | |
tree | e06ce46201cacce3d2034f11987ed2b73b1d629a | |
parent | 03e7cd2359a0c84e194348e657ecce14a448ea3d (diff) |
MacGui: Mod encx264.c to allow the queue to show the advanced x264 options in the encoding job.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@993 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/encx264.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index 95922d504..a061cf1f3 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -97,7 +97,7 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) Merritt implemented in the Mplayer/Mencoder project. */ - char *x264opts = job->x264opts; + char *x264opts = strdup(job->x264opts); if( x264opts != NULL && *x264opts != '\0' ) { while( *x264opts ) @@ -162,6 +162,7 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) hb_log( "x264 options: Bad argument %s=%s", name, value ? value : "(null)" ); } } + free(x264opts); if( job->pixel_ratio ) |