X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fservice%2Fservicemp3.h;h=41aec13e0a7547a387545c34259828b3564f0a06;hb=6baa3503ffe8710cb9fe551da49f5e800904aaa5;hp=00dd5ca0cb374385f385390bb7f5bd8260e46fab;hpb=49fcab8fd60752c06b91c2e3b217c123d7b8a6b2;p=vuplus_dvbapp 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);