diff options
author | Jacek Antonelli | 2009-04-01 15:26:25 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-02 01:43:46 -0500 |
commit | 2cdd77d1c9bbbda729b2b78bced80837e1227f79 (patch) | |
tree | 39945a55cfdd3e80b2c3ca11cc57ab2c02e13ed5 | |
parent | Fixed some minor mistakes in set_gst_plugin_path(). (diff) | |
download | meta-impy-2cdd77d1c9bbbda729b2b78bced80837e1227f79.zip meta-impy-2cdd77d1c9bbbda729b2b78bced80837e1227f79.tar.gz meta-impy-2cdd77d1c9bbbda729b2b78bced80837e1227f79.tar.bz2 meta-impy-2cdd77d1c9bbbda729b2b78bced80837e1227f79.tar.xz |
Added LLMediaBase::EDebugLevel and setDebugLevel stub.
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/llmedia/llmediabase.h | 15 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 776a451..51deeef 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,9 @@ | |||
1 | 2009-04-01 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
2 | |||
3 | * linden/indra/llmedia/llmediabase.h: | ||
4 | Added LLMediaBase::EDebugLevel and setDebugLevel prototype. | ||
5 | |||
6 | |||
1 | 2009-03-28 Jacek Antonelli <jacek.antonelli@gmail.com> | 7 | 2009-03-28 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 8 | ||
3 | * linden/indra/llmedia/llmediaimplgstreamer.cpp: | 9 | * 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 | |||
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; |