aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-01 23:47:05 -0500
committerJacek Antonelli2009-04-02 01:43:46 -0500
commite4792e0768162d07b45f8ed19002f7a13c3bebb4 (patch)
tree56d1d39e6e819337489c409f9a6607138acb4d1e /linden
parentAdded LLMediaImplCommon::setDebugLevel(). (diff)
downloadmeta-impy-e4792e0768162d07b45f8ed19002f7a13c3bebb4.zip
meta-impy-e4792e0768162d07b45f8ed19002f7a13c3bebb4.tar.gz
meta-impy-e4792e0768162d07b45f8ed19002f7a13c3bebb4.tar.bz2
meta-impy-e4792e0768162d07b45f8ed19002f7a13c3bebb4.tar.xz
Implemented LLMediaImplGstreamer::setDebugLevel().
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp12
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.h2
2 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.cpp b/linden/indra/llmedia/llmediaimplgstreamer.cpp
index 9a51b7f..82b1096 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.cpp
+++ b/linden/indra/llmedia/llmediaimplgstreamer.cpp
@@ -261,6 +261,18 @@ bool LLMediaImplGStreamer::closedown()
261} 261}
262 262
263 263
264bool LLMediaImplGStreamer::setDebugLevel( LLMediaBase::EDebugLevel level )
265{
266 // Do parent class stuff.
267 LLMediaImplCommon::setDebugLevel(level);
268
269 // Set GStreamer verbosity.
270 gst_debug_set_default_threshold( (GstDebugLevel)level );
271
272 return true;
273}
274
275
264/////////////////////////////////////////////////////////////////////////////// 276///////////////////////////////////////////////////////////////////////////////
265// 277//
266// Uncomment the line below to enable spammy debug data. 278// Uncomment the line below to enable spammy debug data.
diff --git a/linden/indra/llmedia/llmediaimplgstreamer.h b/linden/indra/llmedia/llmediaimplgstreamer.h
index 2918416..282da08 100644
--- a/linden/indra/llmedia/llmediaimplgstreamer.h
+++ b/linden/indra/llmedia/llmediaimplgstreamer.h
@@ -69,6 +69,8 @@ class LLMediaImplGStreamer:
69 // Sets GST_PLUGIN_PATH env var for GStreamer. 69 // Sets GST_PLUGIN_PATH env var for GStreamer.
70 static void set_gst_plugin_path(); 70 static void set_gst_plugin_path();
71 71
72 /* virtual */ bool setDebugLevel( LLMediaBase::EDebugLevel level );
73
72 /* virtual */ std::string getVersion(); 74 /* virtual */ std::string getVersion();
73 /* virtual */ bool navigateTo( const std::string url ); 75 /* virtual */ bool navigateTo( const std::string url );
74 /* virtual */ bool updateMedia(); 76 /* virtual */ bool updateMedia();