[browser] add exception handling.
[vuplus_dvbapp] / lib / service / servicemp3.h
index a92a4cf..00dd5ca 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
@@ -220,7 +230,6 @@ private:
         };
 
         eFixedMessagePump<Message> m_pump;
-        std::string m_error_message;
 
         audiotype_t gstCheckAudioPad(GstStructure* structure);
         void gstBusCall(GstBus *bus, GstMessage *msg);