mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
d3d11decoder: Disable array-of-texture
Some 4K VP9 + super frame enabled streams would be broken with array-of-texture configuration (i.e., allowing runtime texture registration for DPB). Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1456>
This commit is contained in:
parent
3422868c59
commit
128e533a6e
1 changed files with 6 additions and 0 deletions
|
@ -776,12 +776,18 @@ gst_d3d11_decoder_open (GstD3D11Decoder * decoder, GstD3D11Codec codec,
|
||||||
GST_DEBUG_OBJECT (decoder, "ConfigDecoderSpecific 0x%x",
|
GST_DEBUG_OBJECT (decoder, "ConfigDecoderSpecific 0x%x",
|
||||||
best_config->ConfigDecoderSpecific);
|
best_config->ConfigDecoderSpecific);
|
||||||
|
|
||||||
|
/* FIXME: Revisit this at some point.
|
||||||
|
* Some 4K VP9 + super frame enabled streams would be broken with
|
||||||
|
* this configuration (driver crash) on Intel and Nvidia
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
/* bit 14 is equal to 1b means this config support array of texture and
|
/* bit 14 is equal to 1b means this config support array of texture and
|
||||||
* it's recommended type as per DXVA spec */
|
* it's recommended type as per DXVA spec */
|
||||||
if ((best_config->ConfigDecoderSpecific & 0x4000) == 0x4000) {
|
if ((best_config->ConfigDecoderSpecific & 0x4000) == 0x4000) {
|
||||||
GST_DEBUG_OBJECT (decoder, "Config support array of texture");
|
GST_DEBUG_OBJECT (decoder, "Config support array of texture");
|
||||||
priv->use_array_of_texture = TRUE;
|
priv->use_array_of_texture = TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!gst_d3d11_decoder_prepare_output_view_pool (decoder,
|
if (!gst_d3d11_decoder_prepare_output_view_pool (decoder,
|
||||||
info, aligned_width, aligned_height, pool_size, &selected_profile)) {
|
info, aligned_width, aligned_height, pool_size, &selected_profile)) {
|
||||||
|
|
Loading…
Reference in a new issue