X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fservice%2Fservicemp3.h;h=41aec13e0a7547a387545c34259828b3564f0a06;hp=00dd5ca0cb374385f385390bb7f5bd8260e46fab;hb=225bbb2a42180e5182d8dcec1d4c3581eb1b2067;hpb=83bd87859ccc47a5511089ac69fa015cc9e29eaa diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h index 00dd5ca..41aec13 100644 --- a/lib/service/servicemp3.h +++ b/lib/service/servicemp3.h @@ -206,7 +206,7 @@ private: stIdle, stRunning, stStopped, }; int m_state; - GstElement *m_gst_playbin; + GstElement *m_gst_playbin, *audioSink, *videoSink; GstTagList *m_stream_tags; struct Message @@ -232,6 +232,7 @@ private: eFixedMessagePump m_pump; audiotype_t gstCheckAudioPad(GstStructure* structure); + static gint match_sinktype(GstElement *element, gpointer type); void gstBusCall(GstBus *bus, GstMessage *msg); static GstBusSyncReply gstBusSyncHandler(GstBus *bus, GstMessage *message, gpointer user_data); static void gstTextpadHasCAPS(GstPad *pad, GParamSpec * unused, gpointer user_data);