aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicemp3.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-07-25 22:36:48 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-07-25 22:36:48 +0000
commitd3538d6f7a92223cbd938c7b9be3cd9f618af60d (patch)
tree60f937f084e05296893bb8ed78acf8aa533dba2b /lib/service/servicemp3.h
parent761cde6e77261e8ee7680510705b6283a734c2af (diff)
downloadenigma2-d3538d6f7a92223cbd938c7b9be3cd9f618af60d.tar.gz
enigma2-d3538d6f7a92223cbd938c7b9be3cd9f618af60d.zip
use 'id3demux'/'mad' for decoding mp3files instead of decodebin
Diffstat (limited to 'lib/service/servicemp3.h')
-rw-r--r--lib/service/servicemp3.h3
1 files changed, 2 insertions, 1 deletions
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<int> 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&);