mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
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
1 changed files with 7 additions and 0 deletions
|
@ -130,6 +130,13 @@ gst_d3d11_video_processor_new (GstD3D11Device * device, guint in_width,
|
|||
}
|
||||
#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;
|
||||
|
||||
fail:
|
||||
|
|
Loading…
Reference in a new issue