diff options
author | Jacek Antonelli | 2009-04-05 23:41:16 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-06 00:33:07 -0500 |
commit | 15296967b6beec8e6f6c5ff4b7e8c274e5d05dca (patch) | |
tree | f6c86080ef8a22d431e29fe321d67b5cf347488c /linden/indra/llmedia/llmediaimplgstreamer.h | |
parent | Added LLGstPlayThread class. (diff) | |
download | meta-impy-15296967b6beec8e6f6c5ff4b7e8c274e5d05dca.zip meta-impy-15296967b6beec8e6f6c5ff4b7e8c274e5d05dca.tar.gz meta-impy-15296967b6beec8e6f6c5ff4b7e8c274e5d05dca.tar.bz2 meta-impy-15296967b6beec8e6f6c5ff4b7e8c274e5d05dca.tar.xz |
LLMediaImplGStreamer creates new thread for playing.
This keeps the viewer responsive while GStreamer does its thing.
Diffstat (limited to 'linden/indra/llmedia/llmediaimplgstreamer.h')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.h b/linden/indra/llmedia/llmediaimplgstreamer.h index be4b3c0..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; |
@@ -124,6 +125,8 @@ class LLMediaImplGStreamer: | |||
124 | GstSLVideo *mVideoSink; | 125 | GstSLVideo *mVideoSink; |
125 | GstState mState; | 126 | GstState mState; |
126 | GstState getState() const { return mState; } | 127 | GstState getState() const { return mState; } |
128 | |||
129 | LLGstPlayThread *mPlayThread; | ||
127 | }; | 130 | }; |
128 | 131 | ||
129 | class LLMediaImplGStreamerMaker : public LLMediaImplMaker | 132 | class LLMediaImplGStreamerMaker : public LLMediaImplMaker |