aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/audio-inline
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-10-25 20:56:14 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-10-25 20:56:14 +0800
commite0aa017ef2cd35fb3d2286a3122c12b2e0907719 (patch)
tree602b14928d178f4b49428acea76d48f0a50502b2 /plugins/audio-inline
parent299b8fd79ed2c80c9ce8629960236e278afe8c72 (diff)
downloadgsoc2013-evolution-e0aa017ef2cd35fb3d2286a3122c12b2e0907719.tar
gsoc2013-evolution-e0aa017ef2cd35fb3d2286a3122c12b2e0907719.tar.gz
gsoc2013-evolution-e0aa017ef2cd35fb3d2286a3122c12b2e0907719.tar.bz2
gsoc2013-evolution-e0aa017ef2cd35fb3d2286a3122c12b2e0907719.tar.lz
gsoc2013-evolution-e0aa017ef2cd35fb3d2286a3122c12b2e0907719.tar.xz
gsoc2013-evolution-e0aa017ef2cd35fb3d2286a3122c12b2e0907719.tar.zst
gsoc2013-evolution-e0aa017ef2cd35fb3d2286a3122c12b2e0907719.zip
handle application/x-ogg mime type
2004-10-25 Radek Doulik <rodo@ximian.com> * org-gnome-audio-inline.eplug.in: handle application/x-ogg mime type * audio-inline.c: handle application/x-ogg mime type svn path=/trunk/; revision=27718
Diffstat (limited to 'plugins/audio-inline')
-rw-r--r--plugins/audio-inline/ChangeLog5
-rw-r--r--plugins/audio-inline/audio-inline.c2
-rw-r--r--plugins/audio-inline/org-gnome-audio-inline.eplug.in1
3 files changed, 7 insertions, 1 deletions
diff --git a/plugins/audio-inline/ChangeLog b/plugins/audio-inline/ChangeLog
index 96f18c95da..e26ec48280 100644
--- a/plugins/audio-inline/ChangeLog
+++ b/plugins/audio-inline/ChangeLog
@@ -1,5 +1,10 @@
2004-10-25 Radek Doulik <rodo@ximian.com>
+ * org-gnome-audio-inline.eplug.in: handle application/x-ogg mime
+ type
+
+ * audio-inline.c: handle application/x-ogg mime type
+
* org-gnome-audio-inline.eplug.in: handle audio/x-mp3 mime type
* audio-inline.c: (org_gnome_audio_inline_play_clicked): handle
diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c
index e4deae2062..9ddafb4670 100644
--- a/plugins/audio-inline/audio-inline.c
+++ b/plugins/audio-inline/audio-inline.c
@@ -212,7 +212,7 @@ org_gnome_audio_inline_play_clicked (GtkWidget *button, EMFormatHTMLPObject *pob
po->thread = org_gnome_audio_inline_gst_flac_thread (filesrc);
}
} else if (!strcasecmp (type->type, "application")) {
- if (!strcasecmp (type->subtype, "ogg")) {
+ if (!strcasecmp (type->subtype, "ogg") || !strcasecmp (type->subtype, "x-ogg")) {
po->thread = org_gnome_audio_inline_gst_ogg_thread (filesrc);
}
}
diff --git a/plugins/audio-inline/org-gnome-audio-inline.eplug.in b/plugins/audio-inline/org-gnome-audio-inline.eplug.in
index 28ec6d0f77..209630412e 100644
--- a/plugins/audio-inline/org-gnome-audio-inline.eplug.in
+++ b/plugins/audio-inline/org-gnome-audio-inline.eplug.in
@@ -13,6 +13,7 @@
<item mime_type="audio/x-mp3" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
<item mime_type="audio/x-flac" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
<item mime_type="application/ogg" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
+ <item mime_type="application/x-ogg" format="org_gnome_audio_inline_format" flags="inline_disposition"/>
</group>
</hook>