From 299b8fd79ed2c80c9ce8629960236e278afe8c72 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Mon, 25 Oct 2004 12:33:03 +0000 Subject: handle audio/x-mp3 mime type 2004-10-25 Radek Doulik * 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 --- plugins/audio-inline/ChangeLog | 8 +++++++- plugins/audio-inline/audio-inline.c | 2 +- plugins/audio-inline/org-gnome-audio-inline.eplug.in | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'plugins') 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 - * 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 + + * 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 @@ + -- cgit