diff options
author | sr55 <[email protected]> | 2007-06-22 21:59:40 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-06-22 21:59:40 +0000 |
commit | e417a595527a53f1e2bc7095f619b3225bc6bbf8 (patch) | |
tree | cc21ca100bbee2af532de4262f8a12d79695de7a /win | |
parent | ec43136420f3c2be11e3b70caa15567f2a717a71 (diff) |
WinGUI:
If Chapter Markers is checked, GUI now sets .m4v extension when user clicks the "browse" button in the destination box. Previously it would default to mp4 if you changed the file save location after having checked Chapters Markers.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@633 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/Handbrake/frmMain.Designer.vb | 2 | ||||
-rw-r--r-- | win/Handbrake/frmMain.vb | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/win/Handbrake/frmMain.Designer.vb b/win/Handbrake/frmMain.Designer.vb index 3f89dee64..157ff5cce 100644 --- a/win/Handbrake/frmMain.Designer.vb +++ b/win/Handbrake/frmMain.Designer.vb @@ -2304,7 +2304,7 @@ Partial Class frmMain 'DVD_Save
'
Me.DVD_Save.DefaultExt = "mp4"
- Me.DVD_Save.Filter = "mp4|*.mp4 |avi|*.avi |ogm|*.ogm"
+ Me.DVD_Save.Filter = "mp4|*.mp4 |m4v|*.m4v |avi|*.avi |ogm|*.ogm"
'
'File_Save
'
diff --git a/win/Handbrake/frmMain.vb b/win/Handbrake/frmMain.vb index 9ecb13cc3..417f07b55 100644 --- a/win/Handbrake/frmMain.vb +++ b/win/Handbrake/frmMain.vb @@ -434,6 +434,11 @@ Public Class frmMain Dim filename As String
DVD_Save.ShowDialog()
filename = DVD_Save.FileName
+
+ If Check_ChapterMarkers.CheckState = 1 Then
+ filename = filename.Replace(".mp4", ".m4v").Trim()
+ End If
+
text_destination.Text = filename.Trim
Dim DriveLetter() As String = text_destination.Text.Split(":")
@@ -461,7 +466,10 @@ Public Class frmMain Catch ex As Exception
' Ignore the Error - Change this to an IF Statment at some point so it works better.
End Try
+
+
+
End Sub
Private Sub GenerateQuery_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GenerateQuery.Click
|