From d3538d6f7a92223cbd938c7b9be3cd9f618af60d Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 25 Jul 2007 22:36:48 +0000 Subject: use 'id3demux'/'mad' for decoding mp3files instead of decodebin --- lib/service/servicemp3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/service/servicemp3.h') diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h index f58464d1..6606ca5d 100644 --- a/lib/service/servicemp3.h +++ b/lib/service/servicemp3.h @@ -97,13 +97,14 @@ private: stIdle, stRunning, stStopped, }; int m_state; - GstElement *m_gst_pipeline, *m_gst_audio, *m_gst_videoqueue, *m_gst_audioqueue; + GstElement *m_gst_pipeline, *m_gst_audio, *m_gst_videoqueue, *m_gst_audioqueue, *m_decoder; GstTagList *m_stream_tags; eFixedMessagePump m_pump; void gstBusCall(GstBus *bus, GstMessage *msg); static GstBusSyncReply gstBusSyncHandler(GstBus *bus, GstMessage *message, gpointer user_data); static void gstCBpadAdded(GstElement *decodebin, GstPad *pad, gpointer data); /* for mpegdemux */ + static void gstCBfilterPadAdded(GstElement *filter, GstPad *pad, gpointer user_data); /* for id3demux */ static void gstCBnewPad(GstElement *decodebin, GstPad *pad, gboolean last, gpointer data); /* for decodebin */ static void gstCBunknownType(GstElement *decodebin, GstPad *pad, GstCaps *l, gpointer data); void gstPoll(const int&); -- cgit v1.2.3