diff options
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 8 | ||||
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.h | 7 |
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 |
234 | static const char* get_gst_state_name(GstState state) | 234 | static 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 |
249 | gboolean LLMediaImplGStreamer::bus_callback(GstBus *bus, GstMessage *message, gpointer data) | 249 | gboolean 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 @@ | |||
42 | extern "C" { | 42 | extern "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 |