mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Fill VANC area with black instead of zeroes when outputting TALL frames
This commit is contained in:
parent
b64c7f3fdc
commit
bdddb634f7
1 changed files with 4 additions and 1 deletions
|
@ -1041,7 +1041,10 @@ static GstFlowReturn gst_aja_sink_render(GstBaseSink *bsink,
|
|||
format_desc.RasterLineToByteOffset(format_desc.GetFirstActiveLine());
|
||||
guint size = format_desc.GetVisibleRasterBytes();
|
||||
|
||||
if (offset != 0) memset(item.video_map.data, 0, offset);
|
||||
if (offset != 0)
|
||||
::SetRasterLinesBlack(::NTV2_FBF_10BIT_YCBCR, item.video_map.data,
|
||||
format_desc.GetBytesPerRow(),
|
||||
format_desc.GetFirstActiveLine());
|
||||
memcpy(item.video_map.data + offset,
|
||||
GST_VIDEO_FRAME_PLANE_DATA(&in_frame, 0), size);
|
||||
|
||||
|
|
Loading…
Reference in a new issue