aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorunknown2009-01-09 10:39:27 -0700
committerunknown2009-01-09 10:39:27 -0700
commit1d64c72eed35a4b386dfeab6e88963e644fa5100 (patch)
treeec7a060d972f475cb3ada57f5cf719072a859fc5 /linden
parentAdded openal32.dll and alut.dll to CopyWinLibs.cmake (diff)
downloadmeta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.zip
meta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.tar.gz
meta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.tar.bz2
meta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.tar.xz
minor gstreamer tweak
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp8
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.h7
2 files changed, 6 insertions, 9 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index f4ff8c2..6fdaf43 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -230,7 +230,7 @@ bool LLMediaImplGStreamer::closedown()
230/////////////////////////////////////////////////////////////////////////////// 230///////////////////////////////////////////////////////////////////////////////
231// 231//
232//#define LL_GST_REPORT_STATE_CHANGES 232//#define LL_GST_REPORT_STATE_CHANGES
233///#ifdef LL_GST_REPORT_STATE_CHANGES 233#ifdef LL_GST_REPORT_STATE_CHANGES
234static const char* get_gst_state_name(GstState state) 234static const char* get_gst_state_name(GstState state)
235{ 235{
236 switch (state) 236 switch (state)
@@ -243,7 +243,7 @@ static const char* get_gst_state_name(GstState state)
243 } 243 }
244 return "(unknown)"; 244 return "(unknown)";
245} 245}
246///#endif // LL_GST_REPORT_STATE_CHANGES 246#endif // LL_GST_REPORT_STATE_CHANGES
247 247
248//static 248//static
249gboolean LLMediaImplGStreamer::bus_callback(GstBus *bus, GstMessage *message, gpointer data) 249gboolean LLMediaImplGStreamer::bus_callback(GstBus *bus, GstMessage *message, gpointer data)
@@ -276,10 +276,10 @@ gboolean LLMediaImplGStreamer::bus_callback(GstBus *bus, GstMessage *message, gp
276 &old_state, 276 &old_state,
277 &new_state, 277 &new_state,
278 &pending_state); 278 &pending_state);
279///#ifdef LL_GST_REPORT_STATE_CHANGES 279#ifdef LL_GST_REPORT_STATE_CHANGES
280 // not generally very useful, and rather spammy. 280 // not generally very useful, and rather spammy.
281 LL_DEBUGS("MediaState") << "GST state change (old,<new>,pending): "<< get_gst_state_name(old_state) << ",<" << get_gst_state_name(new_state) << ">," << get_gst_state_name(pending_state) << LL_ENDL; 281 LL_DEBUGS("MediaState") << "GST state change (old,<new>,pending): "<< get_gst_state_name(old_state) << ",<" << get_gst_state_name(new_state) << ">," << get_gst_state_name(pending_state) << LL_ENDL;
282///#endif // LL_GST_REPORT_STATE_CHANGES 282#endif // LL_GST_REPORT_STATE_CHANGES
283 283
284 switch (new_state) 284 switch (new_state)
285 { 285 {
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.h b/linden/indra/llmedia/llmediaimplgstreamer.h
index 6deb3f4..4b9353b 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.h
+++ b/linden/indra/llmedia/llmediaimplgstreamer.h
@@ -42,12 +42,9 @@
42extern "C" { 42extern "C" {
43#include <stdio.h> 43#include <stdio.h>
44#include <gst/gst.h> 44#include <gst/gst.h>
45 45#include <apr_pools.h>
46#include "apr_pools.h" 46#include <apr_dso.h>
47#include "apr_dso.h"
48} 47}
49//#include <glib-object.h>
50//#include <gmain.h>
51 48
52#include "llmediaimplgstreamervidplug.h" 49#include "llmediaimplgstreamervidplug.h"
53#ifdef LL_GST_SOUNDSINK 50#ifdef LL_GST_SOUNDSINK