summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-09-04 16:31:19 +0000
committersr55 <[email protected]>2007-09-04 16:31:19 +0000
commit7135156993a6ec60e691067dc3e481ea774d0c84 (patch)
tree5db23e4367ed641ee9d9315450a6ba976852cb4c
parent28717a55250d69e01412ce49fec3bc40a42560a4 (diff)
MacGui:
Fixed mkv file extension not being appending by auto naming Included Ritsuka patch for mkv file size issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@918 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/common.c1
-rw-r--r--macosx/Controller.mm3
2 files changed, 4 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 7a9679f3a..39e6140ec 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -177,6 +177,7 @@ int hb_calc_bitrate( hb_job_t * job, int size )
case HB_MUX_MP4:
case HB_MUX_PSP:
case HB_MUX_IPOD:
+ case HB_MUX_MKV:
overhead = 6;
break;
case HB_MUX_AVI:
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index ac4a8a5bb..c829bba27 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -1000,6 +1000,9 @@ list = hb_get_titles( fHandle );
case 2:
ext = "ogm";
break;
+ case 3:
+ ext = "mkv";
+ break;
}