summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2012-08-29 12:19:29 +0300
committerTorsten Jager <t.jager@gmx.de>2012-08-29 12:19:29 +0300
commitc833e94f809bb9bf336ecad75ebfcb6a606018a5 (patch)
tree26d5d49670aa300900c10935cb91332edb4e32ef /src
parent4523162ad535522c904c146caefba28439b9ec7f (diff)
downloadxine-lib-c833e94f809bb9bf336ecad75ebfcb6a606018a5.tar.gz
xine-lib-c833e94f809bb9bf336ecad75ebfcb6a606018a5.tar.bz2
yuv: add color matrix hint
Diffstat (limited to 'src')
-rw-r--r--src/video_dec/yuv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_dec/yuv.c b/src/video_dec/yuv.c
index a49ddf2e4..db7d01d91 100644
--- a/src/video_dec/yuv.c
+++ b/src/video_dec/yuv.c
@@ -281,6 +281,8 @@ static void yuv_decode_data (video_decoder_t *this_gen,
}
+ VO_SET_FLAGS_CM (this->height >= 720 ? 2 : 10, img->flags);
+
img->duration = this->video_step;
img->pts = buf->pts;
img->bad_frame = 0;