aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediaimplgstreamer.cpp
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/indra/llmedia/llmediaimplgstreamer.cpp
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 '')
-rw-r--r--linden/indra/llmedia/llmediaimplgstreamer.cpp12
1 files changed, 12 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.