=?utf-8?b?W3RvdGVtXSB1cmk6IFJlbW92ZSDigJgudHh04oCZIGFzIGFuIGF1dG9sb2Fk?= =?utf-8?q?ing_subtitle_file_ext?=
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] uri: Remove â.txtâ as an autoloading subtitle file ext
- Date: Tue, 10 Jan 2012 16:13:03 +0000 (UTC)
commit bbb45d05707e700f7ba2922340aba95ca64a5ac1
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 10 16:12:08 2012 +0000
uri: Remove â.txtâ as an autoloading subtitle file ext
There are too many false positives with .txt files, which
would then break GStreamer with bizarre error messages.
Revert 667983c595f640e358a6e465c6fe879e4c7fbc85
src/totem-uri.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/totem-uri.c b/src/totem-uri.c
index 55f60cd..e484ff7 100644
--- a/src/totem-uri.c
+++ b/src/totem-uri.c
@@ -290,15 +290,16 @@ totem_setup_file_monitoring (Totem *totem)
totem);
}
-/* List from xine-lib's demux_sputext.c. Keep in sync with the list in totem_setup_file_filters() in this file. */
+/* List from xine-lib's demux_sputext.c.
+ * Keep in sync with the list in totem_setup_file_filters() in this file.
+ * Don't add .txt extensions, as there are too many false positives. */
static const char subtitle_ext[][4] = {
"sub",
"srt",
"smi",
"ssa",
"ass",
- "asc",
- "txt"
+ "asc"
};
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]