From 4ab23677a96040ac04b98cfdf5dd6a86cf474a7b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 26 Jan 2015 12:52:40 +0100 Subject: [PATCH] video-format: fix GBR unpack --- gst-libs/gst/video/video-format.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index a1578daff6..1fa8129d78 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -776,9 +776,9 @@ unpack_GBR (const GstVideoFormatInfo * info, GstVideoPackFlags flags, const guint8 *restrict sg = GET_G_LINE (y); const guint8 *restrict sb = GET_B_LINE (y); - sr += x * 4; - sg += x * 4; - sb += x * 4; + sr += x; + sg += x; + sb += x; video_orc_unpack_Y444 (dest, sr, sg, sb, width); }