diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-07-04 17:27:25 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-07-04 17:40:11 +0200 |
commit | 6e9deae749a32f5654cc2b62445da0ab8b74cf73 (patch) | |
tree | 27eec2c1ce92a500d866705885ed27c7c1bcf8ba /gst/ffmpegcolorspace | |
parent | d774b460770d9433a483367da59d9241e085991b (diff) |
ffmpegcolorspace: Use correct Y offset for YVYU -> RGB conversions
Fixes bug #623530.
Diffstat (limited to 'gst/ffmpegcolorspace')
-rw-r--r-- | gst/ffmpegcolorspace/imgconvert_template.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/ffmpegcolorspace/imgconvert_template.h b/gst/ffmpegcolorspace/imgconvert_template.h index c06cd280a..04ff788ef 100644 --- a/gst/ffmpegcolorspace/imgconvert_template.h +++ b/gst/ffmpegcolorspace/imgconvert_template.h @@ -119,7 +119,7 @@ static void glue (yvyu422_to_, RGB_NAME)(AVPicture *dst, const AVPicture *src, RGB_OUT(d1, r, g, b); d1 += BPP; - YUV_TO_RGB2_CCIR(r, g, b, s1[1]); + YUV_TO_RGB2_CCIR(r, g, b, s1[2]); RGB_OUT(d1, r, g, b); d1 += BPP; |