aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediaimplgstreamer.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-05 23:41:16 -0500
committerJacek Antonelli2009-04-06 00:33:07 -0500
commit15296967b6beec8e6f6c5ff4b7e8c274e5d05dca (patch)
treef6c86080ef8a22d431e29fe321d67b5cf347488c /linden/indra/llmedia/llmediaimplgstreamer.h
parentAdded LLGstPlayThread class. (diff)
downloadmeta-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.h3
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
52class LLMediaManagerData; 53class LLMediaManagerData;
53class LLMediaImplMaker; 54class 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
129class LLMediaImplGStreamerMaker : public LLMediaImplMaker 132class LLMediaImplGStreamerMaker : public LLMediaImplMaker