d3d11videoprocessor: Disable auto processing mode explicitly
Don't allow auto processing (e.g., denoising), as it might result in unexpected output. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2051>
This commit is contained in:
parent
646c34794f
commit
6ba1ee8d0f
@ -130,6 +130,13 @@ gst_d3d11_video_processor_new (GstD3D11Device * device, guint in_width,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Setting up default options */
|
||||||
|
gst_d3d11_device_lock (self->device);
|
||||||
|
/* We don't want auto processing by driver */
|
||||||
|
ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode
|
||||||
|
(self->video_context, self->processor, 0, FALSE);
|
||||||
|
gst_d3d11_device_unlock (self->device);
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user