d3d11: Define enum and flags types manually
authorSeungha Yang <seungha@centricular.com>
Wed, 20 Jul 2022 20:40:45 +0000 (05:40 +0900)
committerSeungha Yang <seungha@centricular.com>
Thu, 21 Jul 2022 15:07:52 +0000 (00:07 +0900)
commit32eeadb4a55744261983e98c1549c03a2536fe0c
tree01c2d552e43efd57c229754082f8da7f7492214e
parent879eb9412bb743f384d0d60ba0ad5d739394d379
d3d11: Define enum and flags types manually

gnome.mkenums_simple() doesn't work well for GstD3D11, seems to
be confused by numeric representation of D3D11, must be a bug
in GLib or so. Just don't rely on the incomplete automagic.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2767>
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11.h
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.h
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build