d3d11videosink: Ensure upload staging texture to fallback render texture
authorSeungha Yang <seungha.yang@navercorp.com>
Sun, 16 Feb 2020 08:11:29 +0000 (17:11 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Sun, 16 Feb 2020 12:29:08 +0000 (21:29 +0900)
commit36fb79024392d3d39ceab90dfe2639646f87b95a
tree3958a89d1cb324f2575b84ed189b3e42f61563d4
parent9bf4746e2f4c5ce51a5a9ef6469521bbb10d47b0
d3d11videosink: Ensure upload staging texture to fallback render texture

gst_video_frame_copy will copy input frame to stating texture
of fallback frame. Then, we need to map fallback texture with GST_MAP_D3D11
flag to upload the staging texture to render texture. Otherwise
the render texture wouldn't be updated.
sys/d3d11/gstd3d11videosink.c