From a2c28e39a2ce19273be907753f8c76ff71ab1fe6 Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Tue, 10 Dec 2013 15:25:20 +0100 Subject: YCgCo: enable ffmpeg software decoder. --- src/combined/ffmpeg/ff_video_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c index 285dd8dde..367fe4483 100644 --- a/src/combined/ffmpeg/ff_video_decoder.c +++ b/src/combined/ffmpeg/ff_video_decoder.c @@ -175,6 +175,7 @@ struct ff_video_decoder_s { }; /* import color matrix names */ +#define CM_HAVE_YCGCO_SUPPORT 1 #include "../../video_out/color_matrix.c" static void ff_check_colorspace (ff_video_decoder_t *this) { @@ -199,7 +200,7 @@ static void ff_check_colorspace (ff_video_decoder_t *this) { if (cm != this->color_matrix) { this->color_matrix = cm; xprintf (this->stream->xine, XINE_VERBOSITY_LOG, - "ffmpeg_video_dec: color matrix #%d [%s]\n", cm >> 1, cm_names[cm & 15]); + "ffmpeg_video_dec: color matrix #%d [%s]\n", cm >> 1, cm_names[cm & 31]); caps = this->stream->video_out->get_capabilities (this->stream->video_out); -- cgit v1.2.3