summaryrefslogtreecommitdiffstats
path: root/vrplayer/demuxmedia.h
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-06-15 13:36:40 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-06-15 13:36:40 -0700
commit374cb93ded0f8e0e9a43e7b5c888f36e197edebe (patch)
tree34b7cad8172ffc345c2739e1a67afa327cedd5e9 /vrplayer/demuxmedia.h
parent78498f66821fe68e4303836a09d42f7f11daaa21 (diff)
downloadxrdp-proprietary-374cb93ded0f8e0e9a43e7b5c888f36e197edebe.tar.gz
xrdp-proprietary-374cb93ded0f8e0e9a43e7b5c888f36e197edebe.zip
vrplayer: added feature to automatically restart media on end of stream
Diffstat (limited to 'vrplayer/demuxmedia.h')
-rw-r--r--vrplayer/demuxmedia.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vrplayer/demuxmedia.h b/vrplayer/demuxmedia.h
index ecb25462..b83a8857 100644
--- a/vrplayer/demuxmedia.h
+++ b/vrplayer/demuxmedia.h
@@ -35,6 +35,7 @@ extern "C"
class DemuxMedia : public QObject
{
Q_OBJECT
+
public:
explicit DemuxMedia(QObject *parent = 0, QQueue<MediaPacket *> *audioQueue = 0,
QQueue<MediaPacket *> *videoQueue = 0, void *channel = 0, int stream_id = 101);
@@ -60,6 +61,9 @@ private:
QMutex sendMutex;
void startAudioVideoThreads();
+
+signals:
+ void onMediaRestarted();
};
#endif // DEMUXMEDIA_H