summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-05 17:24:35 +0100
committerwm4 <wm4@nowhere>2015-11-05 17:24:35 +0100
commit2cf9ee989c4b53f945fe4aa9f6fc17001c3a60e7 (patch)
treecee8878a3e2c7ffa34db71f158da88dfdf145d7a /video/decode/lavc.h
parent66ed50aa0024244cb12795182449b2769d633607 (diff)
downloadmpv-2cf9ee989c4b53f945fe4aa9f6fc17001c3a60e7.tar.bz2
mpv-2cf9ee989c4b53f945fe4aa9f6fc17001c3a60e7.tar.xz
rpi: add support for codecs other than h264
FFmpeg now supports h264 and mpeg2. At least vc-1 will probably follow.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index b655b8480b..fa475c3fc5 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -56,7 +56,7 @@ struct vd_lavc_hwdec {
void (*lock)(struct lavc_ctx *ctx);
void (*unlock)(struct lavc_ctx *ctx);
// Optional; if a special hardware decoder is needed (instead of "hwaccel").
- const char *(*get_codec)(struct lavc_ctx *ctx);
+ const char *(*get_codec)(struct lavc_ctx *ctx, const char *codec);
};
enum {