mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
d3d11decoder: Enable zero-copy for Qualcomm
Qualcomm GPU works fine with current implementation now. Noticeable difference between when it was disabled and current d3d11 implementation is that we now support GstD3D11Memory pool, so there will be no more frequent re-binding decoder surface anymore. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2377>
This commit is contained in:
parent
49b061241e
commit
0d2664c668
1 changed files with 0 additions and 3 deletions
|
@ -851,11 +851,8 @@ gst_d3d11_decoder_open (GstD3D11Decoder * self)
|
||||||
vendor = gst_d3d11_get_device_vendor (self->device);
|
vendor = gst_d3d11_get_device_vendor (self->device);
|
||||||
switch (vendor) {
|
switch (vendor) {
|
||||||
case GST_D3D11_DEVICE_VENDOR_XBOX:
|
case GST_D3D11_DEVICE_VENDOR_XBOX:
|
||||||
case GST_D3D11_DEVICE_VENDOR_QUALCOMM:
|
|
||||||
/* FIXME: Need to figure out Xbox device's behavior
|
/* FIXME: Need to figure out Xbox device's behavior
|
||||||
* https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312
|
* https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312
|
||||||
*
|
|
||||||
* Qualcomm driver seems to be buggy in zero-copy scenario
|
|
||||||
*/
|
*/
|
||||||
self->can_direct_rendering = FALSE;
|
self->can_direct_rendering = FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue