mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 10:55:34 +00:00
videoconvert: fix r210 writing only half a scanline
This commit is contained in:
parent
8c8fcf4d3b
commit
e4d27cfa60
1 changed files with 1 additions and 1 deletions
|
@ -1293,7 +1293,7 @@ putline16_r210 (VideoConvert * convert, GstVideoFrame * dest,
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
guint8 *destline = FRAME_GET_LINE (dest, 0, j);
|
guint8 *destline = FRAME_GET_LINE (dest, 0, j);
|
||||||
for (i = 0; i < convert->width / 2; i++) {
|
for (i = 0; i < convert->width; i++) {
|
||||||
guint32 x = 0;
|
guint32 x = 0;
|
||||||
x |= (src[i * 4 + 1] & 0xffc0) << 14;
|
x |= (src[i * 4 + 1] & 0xffc0) << 14;
|
||||||
x |= (src[i * 4 + 2] & 0xffc0) << 4;
|
x |= (src[i * 4 + 2] & 0xffc0) << 4;
|
||||||
|
|
Loading…
Reference in a new issue