From 2cdd77d1c9bbbda729b2b78bced80837e1227f79 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Wed, 1 Apr 2009 15:26:25 -0500 Subject: Added LLMediaBase::EDebugLevel and setDebugLevel stub. --- ChangeLog.txt | 6 ++++++ linden/indra/llmedia/llmediabase.h | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index 776a451..51deeef 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,9 @@ +2009-04-01 Jacek Antonelli + + * linden/indra/llmedia/llmediabase.h: + Added LLMediaBase::EDebugLevel and setDebugLevel prototype. + + 2009-03-28 Jacek Antonelli * linden/indra/llmedia/llmediaimplgstreamer.cpp: diff --git a/linden/indra/llmedia/llmediabase.h b/linden/indra/llmedia/llmediabase.h index b5b9420..bf54a22 100644 --- a/linden/indra/llmedia/llmediabase.h +++ b/linden/indra/llmedia/llmediabase.h @@ -61,6 +61,21 @@ class LLMediaBase // undoes everything init() didm called by the media manager when destroying a source virtual bool reset() = 0; + + /* Mirrors GStreamer debug levels. */ + enum EDebugLevel { + DEBUG_LEVEL_NONE = 0, + DEBUG_LEVEL_ERROR, + DEBUG_LEVEL_WARNING, + DEBUG_LEVEL_INFO, + DEBUG_LEVEL_DEBUG, + DEBUG_LEVEL_LOG, + DEBUG_LEVEL_COUNT, + }; + + /* Set the debug verbosity level. Only implemented for GStreamer. */ + virtual bool setDebugLevel( EDebugLevel level ) = 0; + // accessor for MIME type virtual bool setMimeType( const std::string mime_type ) = 0; virtual std::string getMimeType() const = 0; -- cgit v1.1