mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
bayer: fix output frame map
This commit is contained in:
parent
7d4f1aa8e8
commit
377556421d
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ gst_bayer2rgb_transform (GstBaseTransform * base, GstBuffer * inbuf,
|
||||||
|
|
||||||
GST_DEBUG ("transforming buffer");
|
GST_DEBUG ("transforming buffer");
|
||||||
gst_buffer_map (inbuf, &map, GST_MAP_READ);
|
gst_buffer_map (inbuf, &map, GST_MAP_READ);
|
||||||
gst_video_frame_map (&frame, &filter->info, inbuf, GST_MAP_WRITE);
|
gst_video_frame_map (&frame, &filter->info, outbuf, GST_MAP_WRITE);
|
||||||
|
|
||||||
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, filter->width * 4,
|
||||||
|
|
Loading…
Reference in a new issue