[TransCodingSetup] fix set config bug and wrong description.
[vuplus_dvbapp] / lib / service / servicemp3.h
index a92a4cf..41aec13 100644 (file)
@@ -173,6 +173,12 @@ public:
                {
                }
        };
+       struct errorInfo
+       {
+               std::string error_message;
+               std::string missing_codec;
+       };
+
 private:
        static int pcm_delay;
        static int ac3_delay;
@@ -188,7 +194,11 @@ private:
        friend class eServiceFactoryMP3;
        eServiceReference m_ref;
        int m_buffer_size;
+       //vuplus
+       int m_is_hls_stream;
+
        bufferInfo m_bufferInfo;
+       errorInfo m_errorInfo;
        eServiceMP3(eServiceReference ref);
        Signal2<void,iPlayableService*,int> m_event;
        enum
@@ -196,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
@@ -220,9 +230,9 @@ private:
         };
 
         eFixedMessagePump<Message> m_pump;
-        std::string m_error_message;
 
         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);