gnome-subtitles r1108 - in trunk/src/GnomeSubtitles: Dialog Ui/VideoPreview
- From: pcastro svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-subtitles r1108 - in trunk/src/GnomeSubtitles: Dialog Ui/VideoPreview
- Date: Fri, 2 Jan 2009 15:43:25 +0000 (UTC)
Author: pcastro
Date: Fri Jan 2 15:43:25 2009
New Revision: 1108
URL: http://svn.gnome.org/viewvc/gnome-subtitles?rev=1108&view=rev
Log:
Show Matroska Video files (MKV) in the list of video files, when opening
videos and subtitle files.
Modified:
trunk/src/GnomeSubtitles/Dialog/VideoOpenDialog.cs
trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
Modified: trunk/src/GnomeSubtitles/Dialog/VideoOpenDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/VideoOpenDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/VideoOpenDialog.cs Fri Jan 2 15:43:25 2009
@@ -26,7 +26,7 @@
public class VideoOpenDialog : GladeDialog {
protected new FileChooserDialog dialog = null;
- private static string[] extensions = { "avi", "mpeg", "mpg", "mp4", "ogm", "divx", "xvid", "mov", "ogg" };
+ private static string[] extensions = { "avi", "mpeg", "mpg", "mp4", "ogm", "divx", "xvid", "mov", "ogg", "mkv" };
private string chosenUri = String.Empty;
/* Constant strings */
Modified: trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs Fri Jan 2 15:43:25 2009
@@ -25,7 +25,7 @@
namespace GnomeSubtitles.Ui.VideoPreview {
public class VideoFiles {
- private static Regex videoFilesRegex = new Regex(@"^.*\.((avi)|(mpeg)|(mpg)|(mp4)|(ogm)|(divx)|(xvid)|(mov)|(ogg))$");
+ private static Regex videoFilesRegex = new Regex(@"^.*\.((avi)|(mpeg)|(mpg)|(mp4)|(ogm)|(divx)|(xvid)|(mov)|(ogg)|(mkv))$");
/* Public methods */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]