mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
bayer2rgb: Read stride from the video info
This commit is contained in:
parent
7d6fd42726
commit
6bd93bd7e5
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ gst_bayer2rgb_transform (GstBaseTransform * base, GstBuffer * inbuf,
|
||||||
}
|
}
|
||||||
|
|
||||||
output = GST_VIDEO_FRAME_PLANE_DATA (&frame, 0);
|
output = GST_VIDEO_FRAME_PLANE_DATA (&frame, 0);
|
||||||
gst_bayer2rgb_process (filter, output, filter->width * 4,
|
gst_bayer2rgb_process (filter, output, frame.info.stride[0],
|
||||||
map.data, filter->width);
|
map.data, filter->width);
|
||||||
|
|
||||||
gst_video_frame_unmap (&frame);
|
gst_video_frame_unmap (&frame);
|
||||||
|
|
Loading…
Reference in a new issue