diff options
author | Johns <johns98@gmx.net> | 2013-01-23 21:54:56 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2013-01-23 21:54:56 +0100 |
commit | 04286fb2ad742f33ce6abd055a108483d2a2d16c (patch) | |
tree | 8cc25e1741474e5697a1308802585d606164ef8b /video.h | |
parent | cd82ee8e4a01e29cc9aa616ba9a68c5c59e11d89 (diff) | |
download | vdr-plugin-softhddevice-04286fb2ad742f33ce6abd055a108483d2a2d16c.tar.gz vdr-plugin-softhddevice-04286fb2ad742f33ce6abd055a108483d2a2d16c.tar.bz2 |
Add video compatibility with >=ffmpeg 1.1.
Diffstat (limited to 'video.h')
-rw-r--r-- | video.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,13 +51,13 @@ extern VideoHwDecoder *VideoNewHwDecoder(VideoStream *); /// Deallocate video hardware decoder. extern void VideoDelHwDecoder(VideoHwDecoder *); +#ifdef LIBAVCODEC_VERSION /// Get and allocate a video hardware surface. -extern unsigned VideoGetSurface(VideoHwDecoder *); +extern unsigned VideoGetSurface(VideoHwDecoder *, const AVCodecContext *); /// Release a video hardware surface extern void VideoReleaseSurface(VideoHwDecoder *, unsigned); -#ifdef LIBAVCODEC_VERSION /// Callback to negotiate the PixelFormat. extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *, const enum PixelFormat *); |