[gnome-subtitles] Fix #723477 - Will not parse related video file if its extension is: .MP4 (or anything else in capit
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] Fix #723477 - Will not parse related video file if its extension is: .MP4 (or anything else in capit
- Date: Mon, 3 Feb 2014 00:04:24 +0000 (UTC)
commit 4885e8e75f8b96dc050fef8cb97a2986518472d6
Author: Pedro Castro <mail pedrocastro org>
Date: Mon Feb 3 00:03:02 2014 +0000
Fix #723477 - Will not parse related video file if its extension is: .MP4 (or anything else in capitals)
src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
b/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
index 096829a..1d76eb4 100644
--- a/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
+++ b/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
@@ -25,7 +25,7 @@ using System.Text.RegularExpressions;
namespace GnomeSubtitles.Ui.VideoPreview {
public class VideoFiles {
- private static Regex videoFilesRegex = new
Regex(@"\.(?:(?:3g2)|(?:3gp)|(?:asf)|(?:avi)|(?:bdm)|(?:cpi)|(?:divx)|(?:flv)|(?:m4v)|(?:mkv)|(?:mod)|(?:mov)|(?:mp3)|(?:mp4)|(?:mpeg)|(?:mpg)|(?:mts)|(?:ogg)|(?:ogm)|(?:ogv)|(?:rm)|(?:rmvb)|(?:spx)|(?:vob)|(?:wav)|(?:webm)|(?:wma)|(?:wmv)|(?:xvid))$");
+ private static Regex videoFilesRegex = new
Regex(@"\.(?:(?:3g2)|(?:3gp)|(?:asf)|(?:avi)|(?:bdm)|(?:cpi)|(?:divx)|(?:flv)|(?:m4v)|(?:mkv)|(?:mod)|(?:mov)|(?:mp3)|(?:mp4)|(?:mpeg)|(?:mpg)|(?:mts)|(?:ogg)|(?:ogm)|(?:ogv)|(?:rm)|(?:rmvb)|(?:spx)|(?:vob)|(?:wav)|(?:webm)|(?:wma)|(?:wmv)|(?:xvid))$",
RegexOptions.IgnoreCase);
/* Public methods */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]