diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-06-02 17:25:53 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-06-02 17:25:53 +0000 |
| commit | 57355de351da0b7cc200eb9eedbbc115adb6df3b (patch) | |
| tree | 615dfac444399e90b029b3487582ee44afd12d20 /lib/service/servicemp3.h | |
| parent | 335cf67701ac976f0ddf7bda12d1180fd137a988 (diff) | |
| download | enigma2-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.h | 9 |
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 |
