aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>