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. --- linden/indra/llmedia/llmediabase.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'linden/indra/llmedia/llmediabase.h') 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