diff options
Diffstat (limited to 'linden/indra/llmedia/llmediabase.h')
-rw-r--r-- | linden/indra/llmedia/llmediabase.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 | |||
61 | // undoes everything init() didm called by the media manager when destroying a source | 61 | // undoes everything init() didm called by the media manager when destroying a source |
62 | virtual bool reset() = 0; | 62 | virtual bool reset() = 0; |
63 | 63 | ||
64 | |||
65 | /* Mirrors GStreamer debug levels. */ | ||
66 | enum EDebugLevel { | ||
67 | DEBUG_LEVEL_NONE = 0, | ||
68 | DEBUG_LEVEL_ERROR, | ||
69 | DEBUG_LEVEL_WARNING, | ||
70 | DEBUG_LEVEL_INFO, | ||
71 | DEBUG_LEVEL_DEBUG, | ||
72 | DEBUG_LEVEL_LOG, | ||
73 | DEBUG_LEVEL_COUNT, | ||
74 | }; | ||
75 | |||
76 | /* Set the debug verbosity level. Only implemented for GStreamer. */ | ||
77 | virtual bool setDebugLevel( EDebugLevel level ) = 0; | ||
78 | |||
64 | // accessor for MIME type | 79 | // accessor for MIME type |
65 | virtual bool setMimeType( const std::string mime_type ) = 0; | 80 | virtual bool setMimeType( const std::string mime_type ) = 0; |
66 | virtual std::string getMimeType() const = 0; | 81 | virtual std::string getMimeType() const = 0; |