[totem/wip/hadess/no-application-ogg: 3/3] data: Remove application/ogg from the supported mime-types
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/no-application-ogg: 3/3] data: Remove application/ogg from the supported mime-types
- Date: Tue, 10 Nov 2020 18:09:51 +0000 (UTC)
commit 7a8adbb381d1e68bd19d92f0d6ccd7e11ee86bbf
Author: Bastien Nocera <hadess hadess net>
Date: Fri Nov 6 15:04:20 2020 +0100
data: Remove application/ogg from the supported mime-types
Both the audio/ogg and video/ogg mime-types are subclasses of
application/ogg. Seeing as we only support the video subclass (see
e4a1aaf7d9d3b2c50e2540d5d7f0059ffa30c26b), remove application/ogg
from the supported mime-types.
This will also stop the “Default Applications” panel in GNOME's Settings
from listing Videos as a potential audio player.
data/mime-functions.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/mime-functions.sh b/data/mime-functions.sh
index 5c3b37493..b271b2a61 100644
--- a/data/mime-functions.sh
+++ b/data/mime-functions.sh
@@ -8,7 +8,7 @@ get_audio_mimetypes ()
get_video_mimetypes ()
{
- MIMETYPES=`grep -v '^#' $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac" | grep
-v "text/google-video-pointer" | grep -v "application/x-quicktime-media-link" | grep -v "application/smil" |
grep -v "application/smil+xml" | grep -v "application/x-smil" | grep -v "application/xspf+xml"`
+ MIMETYPES=`grep -v '^#' $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac" | grep
-v "text/google-video-pointer" | grep -v "application/x-quicktime-media-link" | grep -v "application/smil" |
grep -v "application/smil+xml" | grep -v "application/x-smil" | grep -v "application/xspf+xml" | grep -v -E
'application/[a-z-]*ogg'`
MIMETYPES="$MIMETYPES audio/x-pn-realaudio"
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]