From 2cf9ee989c4b53f945fe4aa9f6fc17001c3a60e7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Nov 2015 17:24:35 +0100 Subject: rpi: add support for codecs other than h264 FFmpeg now supports h264 and mpeg2. At least vc-1 will probably follow. --- video/decode/vd_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode/vd_lavc.c') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index c80ec26deb..732f29d4f0 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -327,7 +327,7 @@ static int init(struct dec_video *vd, const char *decoder) if (hwdec) { ctx->software_fallback_decoder = talloc_strdup(ctx, decoder); if (hwdec->get_codec) - decoder = hwdec->get_codec(ctx); + decoder = hwdec->get_codec(ctx, decoder); MP_VERBOSE(vd, "Trying hardware decoding.\n"); } else { MP_VERBOSE(vd, "Using software decoding.\n"); -- cgit v1.2.3