aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicemp3.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-06-02 17:25:53 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-06-02 17:25:53 +0000
commit57355de351da0b7cc200eb9eedbbc115adb6df3b (patch)
tree615dfac444399e90b029b3487582ee44afd12d20 /lib/service/servicemp3.h
parent335cf67701ac976f0ddf7bda12d1180fd137a988 (diff)
downloadenigma2-57355de351da0b7cc200eb9eedbbc115adb6df3b.tar.gz
enigma2-57355de351da0b7cc200eb9eedbbc115adb6df3b.zip
add support for playing back videos with the not-yet-finished dvbvideosink/dvbaudiosink
Diffstat (limited to 'lib/service/servicemp3.h')
-rw-r--r--lib/service/servicemp3.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h
index e430dce0..36c9da3c 100644
--- a/lib/service/servicemp3.h
+++ b/lib/service/servicemp3.h
@@ -63,7 +63,8 @@ public:
RESULT frontendInfo(ePtr<iFrontendInformation> &ptr) { ptr = 0; return -1; }
RESULT subServices(ePtr<iSubserviceList> &ptr) { ptr = 0; return -1; }
RESULT timeshift(ePtr<iTimeshiftService> &ptr) { ptr = 0; return -1; }
- RESULT cueSheet(ePtr<iCueSheet>& ptr) { ptr = 0; return -1; }
+ RESULT cueSheet(ePtr<iCueSheet> &ptr) { ptr = 0; return -1; }
+ RESULT subtitle(ePtr<iSubtitleOutput> &ptr) { ptr = 0; return -1; }
// iPausableService
RESULT pause();
@@ -93,13 +94,15 @@ private:
stIdle, stRunning, stStopped,
};
int m_state;
- GstElement *m_gst_pipeline, *m_gst_audio;
+ GstElement *m_gst_pipeline, *m_gst_audio, *m_gst_videoqueue, *m_gst_audioqueue;
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 gstCBnewPad(GstElement *decodebin, GstPad *pad, gboolean last, gpointer data);
+ static void gstCBpadAdded(GstElement *decodebin, GstPad *pad, gpointer data); /* for mpegdemux */
+ 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&);
};
#endif