d3d11stagingbufferpool: Fix typo in texture description

Fixing typo, it should be height

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1652>
This commit is contained in:
Seungha Yang 2022-02-07 22:38:02 +09:00
parent ea9b350240
commit 187dfce793

View file

@ -172,7 +172,7 @@ gst_d3d11_staging_buffer_pool_set_config (GstBufferPool * pool,
desc = &priv->desc[0];
width = GST_VIDEO_INFO_WIDTH (&info);
height = GST_VIDEO_INFO_WIDTH (&info);
height = GST_VIDEO_INFO_HEIGHT (&info);
/* resolution of semi-planar formats must be multiple of 2 */
switch (format->dxgi_format) {