d3d11stagingbufferpool: Fix typo in texture description
authorSeungha Yang <seungha@centricular.com>
Mon, 7 Feb 2022 13:38:02 +0000 (22:38 +0900)
committerSeungha Yang <seungha@centricular.com>
Mon, 7 Feb 2022 13:38:02 +0000 (22:38 +0900)
Fixing typo, it should be height

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1652>

subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11stagingbufferpool.cpp

index b01ccbb..40912f9 100644 (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) {