summaryrefslogtreecommitdiff
path: root/dxr3ffmpeg.h
diff options
context:
space:
mode:
authorscop <scop>2005-04-18 19:17:40 +0000
committerscop <scop>2005-04-18 19:17:40 +0000
commit37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd (patch)
tree273ceb29e8631796f83b88e3a133dbab4ccbe2c7 /dxr3ffmpeg.h
parent4d4c6bb89da5b1cc3eff554412ea834337308cd5 (diff)
downloadvdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.gz
vdr-plugin-dxr3-37c4c7b0a4a388d6c933e95756ddd30dd0cca6fd.tar.bz2
Add (X)Emacs indentation settings.
Diffstat (limited to 'dxr3ffmpeg.h')
-rw-r--r--dxr3ffmpeg.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/dxr3ffmpeg.h b/dxr3ffmpeg.h
index 46fed73..e4de33b 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_*/