diff options
author | unknown | 2009-01-09 10:39:27 -0700 |
---|---|---|
committer | unknown | 2009-01-09 10:39:27 -0700 |
commit | 1d64c72eed35a4b386dfeab6e88963e644fa5100 (patch) | |
tree | ec7a060d972f475cb3ada57f5cf719072a859fc5 /linden/indra/llmedia/llmediaimplgstreamer.cpp | |
parent | Added openal32.dll and alut.dll to CopyWinLibs.cmake (diff) | |
download | meta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.zip meta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.tar.gz meta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.tar.bz2 meta-impy-1d64c72eed35a4b386dfeab6e88963e644fa5100.tar.xz |
minor gstreamer tweak
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmedia/llmediaimplgstreamer.cpp | 8 |
1 files changed, 4 insertions, 4 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 | { |