diff options
author | Radek Doulik <rodo@ximian.com> | 2004-10-25 20:33:03 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-10-25 20:33:03 +0800 |
commit | 299b8fd79ed2c80c9ce8629960236e278afe8c72 (patch) | |
tree | 71e9b1b9e6fb0380eec1df4f92b2624a68e9a5cb | |
parent | a6f1f252836d5010cd5237588b54a23446f68505 (diff) | |
download | gsoc2013-evolution-299b8fd79ed2c80c9ce8629960236e278afe8c72.tar gsoc2013-evolution-299b8fd79ed2c80c9ce8629960236e278afe8c72.tar.gz gsoc2013-evolution-299b8fd79ed2c80c9ce8629960236e278afe8c72.tar.bz2 gsoc2013-evolution-299b8fd79ed2c80c9ce8629960236e278afe8c72.tar.lz gsoc2013-evolution-299b8fd79ed2c80c9ce8629960236e278afe8c72.tar.xz gsoc2013-evolution-299b8fd79ed2c80c9ce8629960236e278afe8c72.tar.zst gsoc2013-evolution-299b8fd79ed2c80c9ce8629960236e278afe8c72.zip |
handle audio/x-mp3 mime type
2004-10-25 Radek Doulik <rodo@ximian.com>
* org-gnome-audio-inline.eplug.in: handle audio/x-mp3 mime type
* audio-inline.c: (org_gnome_audio_inline_play_clicked): handle
audio/x-mp3 mime type
svn path=/trunk/; revision=27717
-rw-r--r-- | plugins/audio-inline/ChangeLog | 8 | ||||
-rw-r--r-- | plugins/audio-inline/audio-inline.c | 2 | ||||
-rw-r--r-- | plugins/audio-inline/org-gnome-audio-inline.eplug.in | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/plugins/audio-inline/ChangeLog b/plugins/audio-inline/ChangeLog index f7eb2cd666..96f18c95da 100644 --- a/plugins/audio-inline/ChangeLog +++ b/plugins/audio-inline/ChangeLog @@ -1,4 +1,10 @@ 2004-10-25 Radek Doulik <rodo@ximian.com> - * audio-inline.c: imported audio inline plugin + * org-gnome-audio-inline.eplug.in: handle audio/x-mp3 mime type + * audio-inline.c: (org_gnome_audio_inline_play_clicked): handle + audio/x-mp3 mime type + +2004-10-25 Radek Doulik <rodo@ximian.com> + + * audio-inline.c: imported audio inline plugin
\ No newline at end of file diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c index f2264b230b..e4deae2062 100644 --- a/plugins/audio-inline/audio-inline.c +++ b/plugins/audio-inline/audio-inline.c @@ -206,7 +206,7 @@ org_gnome_audio_inline_play_clicked (GtkWidget *button, EMFormatHTMLPObject *pob type = camel_mime_part_get_content_type (po->part); if (type) { if (!strcasecmp (type->type, "audio")) { - if (!strcasecmp (type->subtype, "mpeg")) { + if (!strcasecmp (type->subtype, "mpeg") || !strcasecmp (type->subtype, "x-mp3")) { po->thread = org_gnome_audio_inline_gst_mpeg_thread (filesrc); } else if (!strcasecmp (type->subtype, "x-flac")) { po->thread = org_gnome_audio_inline_gst_flac_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 d61bf70538..28ec6d0f77 100644 --- a/plugins/audio-inline/org-gnome-audio-inline.eplug.in +++ b/plugins/audio-inline/org-gnome-audio-inline.eplug.in @@ -10,6 +10,7 @@ <hook class="org.gnome.evolution.mail.format:1.0"> <group id="EMFormatHTMLDisplay"> <item mime_type="audio/mpeg" format="org_gnome_audio_inline_format" flags="inline_disposition"/> + <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"/> </group> |