diff options
author | Jacek Antonelli | 2009-04-06 01:32:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-06 01:34:44 -0500 |
commit | f3d08c4bed781ea455f0b60ebc294423eb559025 (patch) | |
tree | d13d3f52eb783ad43a26ff6f09b1b99b7970bd2a /linden/indra/llmedia/llmediaimplgstreamer.h | |
parent | Merge commit 'mccabe/gst-revamp' into gst-revamp (diff) | |
parent | LLMediaImplGStreamer creates new thread for playing. (diff) | |
download | meta-impy-f3d08c4bed781ea455f0b60ebc294423eb559025.zip meta-impy-f3d08c4bed781ea455f0b60ebc294423eb559025.tar.gz meta-impy-f3d08c4bed781ea455f0b60ebc294423eb559025.tar.bz2 meta-impy-f3d08c4bed781ea455f0b60ebc294423eb559025.tar.xz |
Merge branch gst-thread into gst-revamp
Conflicts:
linden/indra/llmedia/llmediaimplgstreamer.cpp
Diffstat (limited to 'linden/indra/llmedia/llmediaimplgstreamer.h')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.h b/linden/indra/llmedia/llmediaimplgstreamer.h index 37eaf53..32e6bd1 100644 --- a/linden/indra/llmedia/llmediaimplgstreamer.h +++ b/linden/indra/llmedia/llmediaimplgstreamer.h | |||
@@ -48,6 +48,7 @@ extern "C" { | |||
48 | } | 48 | } |
49 | 49 | ||
50 | #include "llmediaimplgstreamervidplug.h" | 50 | #include "llmediaimplgstreamervidplug.h" |
51 | #include "llgstplaythread.h" | ||
51 | 52 | ||
52 | class LLMediaManagerData; | 53 | class LLMediaManagerData; |
53 | class LLMediaImplMaker; | 54 | class LLMediaImplMaker; |
@@ -96,6 +97,9 @@ class LLMediaImplGStreamer: | |||
96 | /* virtual */ bool seek( double time ); | 97 | /* virtual */ bool seek( double time ); |
97 | /* virtual */ bool setVolume( float volume ); | 98 | /* virtual */ bool setVolume( float volume ); |
98 | 99 | ||
100 | void startPlay(); | ||
101 | |||
102 | |||
99 | LLMediaEmitter< LLMediaObserver > getEventEmitter() const {return mEventEmitter;}; | 103 | LLMediaEmitter< LLMediaObserver > getEventEmitter() const {return mEventEmitter;}; |
100 | 104 | ||
101 | private: | 105 | private: |
@@ -121,6 +125,8 @@ class LLMediaImplGStreamer: | |||
121 | GstSLVideo *mVideoSink; | 125 | GstSLVideo *mVideoSink; |
122 | GstState mState; | 126 | GstState mState; |
123 | GstState getState() const { return mState; } | 127 | GstState getState() const { return mState; } |
128 | |||
129 | LLGstPlayThread *mPlayThread; | ||
124 | }; | 130 | }; |
125 | 131 | ||
126 | class LLMediaImplGStreamerMaker : public LLMediaImplMaker | 132 | class LLMediaImplGStreamerMaker : public LLMediaImplMaker |