mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
videobox: use out_info for out properties
This commit is contained in:
parent
f701d980e6
commit
3ef7c8ab93
1 changed files with 3 additions and 3 deletions
|
@ -3144,9 +3144,9 @@ gst_video_box_set_info (GstVideoFilter * vfilter, GstCaps * in,
|
||||||
video_box->in_width = GST_VIDEO_INFO_WIDTH (in_info);
|
video_box->in_width = GST_VIDEO_INFO_WIDTH (in_info);
|
||||||
video_box->in_height = GST_VIDEO_INFO_HEIGHT (in_info);
|
video_box->in_height = GST_VIDEO_INFO_HEIGHT (in_info);
|
||||||
|
|
||||||
video_box->out_format = GST_VIDEO_INFO_FORMAT (in_info);
|
video_box->out_format = GST_VIDEO_INFO_FORMAT (out_info);
|
||||||
video_box->out_width = GST_VIDEO_INFO_WIDTH (in_info);
|
video_box->out_width = GST_VIDEO_INFO_WIDTH (out_info);
|
||||||
video_box->out_height = GST_VIDEO_INFO_HEIGHT (in_info);
|
video_box->out_height = GST_VIDEO_INFO_HEIGHT (out_info);
|
||||||
|
|
||||||
video_box->in_sdtv =
|
video_box->in_sdtv =
|
||||||
in_info->colorimetry.matrix == GST_VIDEO_COLOR_MATRIX_BT601;
|
in_info->colorimetry.matrix == GST_VIDEO_COLOR_MATRIX_BT601;
|
||||||
|
|
Loading…
Reference in a new issue