diff options
author | scop <scop> | 2005-04-18 19:26:16 +0000 |
---|---|---|
committer | scop <scop> | 2005-04-18 19:26:16 +0000 |
commit | f8a3d81fc0b548a0f76e205fee433e4c94a4ee57 (patch) | |
tree | 2f69513d7d57e15b920c8eb4bb4b4a877d5b0881 /dxr3ffmpeg.h | |
parent | 37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd (diff) | |
download | vdr-plugin-dxr3-f8a3d81fc0b548a0f76e205fee433e4c94a4ee57.tar.gz vdr-plugin-dxr3-f8a3d81fc0b548a0f76e205fee433e4c94a4ee57.tar.bz2 |
Oops, wrong tree... revert.
Diffstat (limited to 'dxr3ffmpeg.h')
-rw-r--r-- | dxr3ffmpeg.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/dxr3ffmpeg.h b/dxr3ffmpeg.h index e4de33b..46fed73 100644 --- a/dxr3ffmpeg.h +++ b/dxr3ffmpeg.h @@ -24,7 +24,7 @@ extern "C" { -#include <avcodec.h> + #include <avcodec.h> } #include <string.h> @@ -34,35 +34,35 @@ extern "C" //! a codec used by this plugin struct Dxr3Codec { - Dxr3Codec() : Open(false) {} + Dxr3Codec() : Open(false) {} - AVCodec* codec; ///< ffmpeg's AVCodec - AVCodecContext codec_context; ///< ffmpeg's AVCodecContext - enum CodecID id; ///< id's from ffmpeg - like CODEC_ID_MP2 - bool Open; ///< is codec open? + AVCodec* codec; ///< ffmpeg's AVCodec + AVCodecContext codec_context; ///< ffmpeg's AVCodecContext + enum CodecID id; ///< id's from ffmpeg - like CODEC_ID_MP2 + bool Open; ///< is codec open? }; // ================================== // class to work with ffmpeg /*! - With cDxr3Ffmepg you can easily handle as many - codecs as you want. - At the moment we need this only for - the audiodecoder, but in future i want to use - it for ohter nice stuff :) + With cDxr3Ffmepg you can easily handle as many + codecs as you want. + At the moment we need this only for + the audiodecoder, but in future i want to use + it for ohter nice stuff :) */ class cDxr3Ffmepg : public Singleton<cDxr3Ffmepg> { - public: - cDxr3Ffmepg(); - ~cDxr3Ffmepg() {} +public: + cDxr3Ffmepg(); + ~cDxr3Ffmepg() {} - bool FindCodec(struct Dxr3Codec& Codec); - bool OpenCodec(struct Dxr3Codec& Codec); - void CloseCodec(struct Dxr3Codec& Codec); + bool FindCodec(struct Dxr3Codec& Codec); + bool OpenCodec(struct Dxr3Codec& Codec); + void CloseCodec(struct Dxr3Codec& Codec); - private: - cDxr3Ffmepg(cDxr3Ffmepg&); // no copy constructor +private: + cDxr3Ffmepg(cDxr3Ffmepg&); // no copy constructor }; #endif /*_DXR3_FFMPEG_H_*/ |