From e4792e0768162d07b45f8ed19002f7a13c3bebb4 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Wed, 1 Apr 2009 23:47:05 -0500 Subject: Implemented LLMediaImplGstreamer::setDebugLevel(). --- linden/indra/llmedia/llmediaimplgstreamer.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'linden/indra/llmedia/llmediaimplgstreamer.cpp') 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() } +bool LLMediaImplGStreamer::setDebugLevel( LLMediaBase::EDebugLevel level ) +{ + // Do parent class stuff. + LLMediaImplCommon::setDebugLevel(level); + + // Set GStreamer verbosity. + gst_debug_set_default_threshold( (GstDebugLevel)level ); + + return true; +} + + /////////////////////////////////////////////////////////////////////////////// // // Uncomment the line below to enable spammy debug data. -- cgit v1.1