d3d11videosink: Clarify the meaning of various width and height variables
authorSeungha Yang <seungha.yang@navercorp.com>
Mon, 2 Mar 2020 11:55:29 +0000 (20:55 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Mon, 2 Mar 2020 13:01:43 +0000 (22:01 +0900)
commit9b7c20bfca97ce67539e32c23691edc610da6b41
tree84167c49753492047ff34ac183c5f24134a3145d
parent25e9ee10b08bf6720953abe5525d4e299583de14
d3d11videosink: Clarify the meaning of various width and height variables

* Remove redundant variables for width/height and par from GstD3D11Window.
  GstVideoInfo holds all the values.
* Don't need to pass par to gst_d3d11_window_prepare().
  It will be parsed from caps again
* Remove duplicated math

Fixing regression of the commit 9dada901083fec3276cb2df58785db14b87e8f22
sys/d3d11/gstd3d11videosink.c
sys/d3d11/gstd3d11window.cpp
sys/d3d11/gstd3d11window.h
sys/d3d11/gstd3d11window_win32.cpp