diff options
author | wm4 <wm4@nowhere> | 2015-08-19 21:33:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-19 21:33:18 +0200 |
commit | bffd78748fb7fb1248424b1d4d2d67eb31c8762f (patch) | |
tree | 92e1038645675c95d6fffb85b3a78ee5c299ee24 /video/decode/vda.c | |
parent | cab1f6439c201d877e709c45bb6a119feddc6a53 (diff) | |
download | mpv-bffd78748fb7fb1248424b1d4d2d67eb31c8762f.tar.bz2 mpv-bffd78748fb7fb1248424b1d4d2d67eb31c8762f.tar.xz |
vd_lavc: remove unneeded hwdec parameters
All hwdec backends now use a single pixel format, and the format is
always checked.
Also, the init_decoder callback is now mandatory.
Diffstat (limited to 'video/decode/vda.c')
-rw-r--r-- | video/decode/vda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vda.c b/video/decode/vda.c index 372061f194..538d21b753 100644 --- a/video/decode/vda.c +++ b/video/decode/vda.c @@ -73,7 +73,7 @@ static void print_vda_error(struct mp_log *log, int lev, char *message, mp_msg(log, lev, "%s: %d\n", message, error_code); } -static int init_decoder(struct lavc_ctx *ctx, int fmt, int w, int h) +static int init_decoder(struct lavc_ctx *ctx, int w, int h) { av_vda_default_free(ctx->avctx); #if HAVE_VDA_DEFAULT_INIT2 |