gst_d3d11_decoder_new() method is also used for device capability
checking during plugin init. Although we are checking hardware
flag prior to that, it doesn't guarantee ID3D11VideoDevice interface.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2088>
video_device = gst_d3d11_device_get_video_device_handle (self->device);
if (!video_device) {
- GST_ERROR_OBJECT (self, "ID3D11VideoDevice is not available");
+ GST_WARNING_OBJECT (self, "ID3D11VideoDevice is not available");
return;
}
video_context = gst_d3d11_device_get_video_context_handle (self->device);
if (!video_context) {
- GST_ERROR_OBJECT (self, "ID3D11VideoContext is not available");
+ GST_WARNING_OBJECT (self, "ID3D11VideoContext is not available");
return;
}