You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
833 B
21 lines
833 B
Index: gstreamer/backend.cpp
|
|
===================================================================
|
|
--- gstreamer/backend.cpp (revision 862019)
|
|
+++ gstreamer/backend.cpp (working copy)
|
|
@@ -226,6 +227,15 @@
|
|
}
|
|
}
|
|
g_list_free(factoryList);
|
|
+ if (availableMimeTypes.contains("audio/x-vorbis")
|
|
+ && availableMimeTypes.contains("application/x-ogm-audio")) {
|
|
+ if (!availableMimeTypes.contains("audio/x-vorbis+ogg"))
|
|
+ availableMimeTypes.append("audio/x-vorbis+ogg");
|
|
+ if (!availableMimeTypes.contains("application/ogg")) /* *.ogg */
|
|
+ availableMimeTypes.append("application/ogg");
|
|
+ if (!availableMimeTypes.contains("audio/ogg")) /* *.oga */
|
|
+ availableMimeTypes.append("audio/ogg");
|
|
+ }
|
|
availableMimeTypes.sort();
|
|
return availableMimeTypes;
|
|
}
|