summaryrefslogtreecommitdiff
path: root/codec.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-08 21:46:00 +0100
committerJohns <johns98@gmx.net>2012-01-08 21:46:00 +0100
commitf6df79e8e64632314c72d85c2410141ab68bff1e (patch)
tree145e90a504d60f50e7e3b17c15b60096e235f2cb /codec.h
parentf1551cd321bdadc69f95a450f2934ad71d3d4a8c (diff)
downloadvdr-plugin-softhddevice-f6df79e8e64632314c72d85c2410141ab68bff1e.tar.gz
vdr-plugin-softhddevice-f6df79e8e64632314c72d85c2410141ab68bff1e.tar.bz2
Improved replay of recordings.
Diffstat (limited to 'codec.h')
-rw-r--r--codec.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/codec.h b/codec.h
index b171a1b..6656d6b 100644
--- a/codec.h
+++ b/codec.h
@@ -1,7 +1,7 @@
///
/// @file codec.h @brief Codec module headerfile
///
-/// Copyright (c) 2009 - 2011 by Johns. All Rights Reserved.
+/// Copyright (c) 2009 - 2012 by Johns. All Rights Reserved.
///
/// Contributor(s):
///
@@ -40,26 +40,32 @@ typedef struct _audio_decoder_ AudioDecoder;
/// Allocate a new video decoder context.
extern VideoDecoder *CodecVideoNewDecoder(VideoHwDecoder *);
- /// Open video codec
+ /// Open video codec.
extern void CodecVideoOpen(VideoDecoder *, const char *, int);
- /// Close video codec
+ /// Close video codec.
extern void CodecVideoClose(VideoDecoder *);
- /// Decode a video packet
-extern void CodecVideoDecode(VideoDecoder *, const AVPacket * pkt);
+ /// Decode a video packet.
+extern void CodecVideoDecode(VideoDecoder *, const AVPacket *);
+
+ /// Flush video buffers.
+extern void CodecVideoFlushBuffers(VideoDecoder *);
/// Allocate a new audio decoder context.
extern AudioDecoder *CodecAudioNewDecoder(void);
- /// Open audio codec
+ /// Open audio codec.
extern void CodecAudioOpen(AudioDecoder *, const char *, int);
- /// Close audio codec
+ /// Close audio codec.
extern void CodecAudioClose(AudioDecoder *);
- /// Decode an audio packet
-extern void CodecAudioDecode(AudioDecoder *, const AVPacket * pkt);
+ /// Decode an audio packet.
+extern void CodecAudioDecode(AudioDecoder *, const AVPacket *);
+
+ /// Flush audio buffers.
+extern void CodecAudioFlushBuffers(AudioDecoder *);
/// Setup and initialize codec module.
extern void CodecInit(void);