diff options
author | dynaflash <[email protected]> | 2007-03-13 19:44:55 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-03-13 19:44:55 +0000 |
commit | 5b9bc2d78e5632ce4173df94312f304304fbc123 (patch) | |
tree | ea02f315e919f5591fe7b5b08e3ec7d5b433e178 | |
parent | 915f1c05ac72ce0229206acd244cc483d550f02a (diff) |
MacGui: Thinine's custom file size and x264 fix.
Thanks Thinine!
- Fix output file variable in controller.mm and common.h so that custom file sizes work properly with x264.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@431 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/common.h | 2 | ||||
-rw-r--r-- | macosx/Controller.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libhb/common.h b/libhb/common.h index e63ecaf8b..d43e5169f 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -197,7 +197,7 @@ struct hb_job_s #define HB_MUX_IPOD 0x100000 int mux; - char * file; + const char * file; #ifdef __LIBHB__ /* Internal data */ diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 1bde5dedd..499ae83ee 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -864,7 +864,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow [self PrepareJob]; /* Destination file */ - job->file = strdup( [[fDstFile2Field stringValue] UTF8String] ); + job->file = [[fDstFile2Field stringValue] UTF8String]; if( [fVidTwoPassCheck state] == NSOnState ) { |