mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
d3d11decoder: Reduce DPB size
Now all codec baseclasses can inform subclasses of correct max DPB size, and exception handling (e.g., emergency bumping in h.264) has been improved as well. Smaller number of additional DPB frame allocation seems to be safe. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4878>
This commit is contained in:
parent
de749fa356
commit
8325623051
1 changed files with 2 additions and 2 deletions
|
@ -806,8 +806,8 @@ gst_d3d11_decoder_configure (GstD3D11Decoder * decoder,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* Additional 4 frames to help zero-copying */
|
||||
dpb_size += 4;
|
||||
/* Additional 2 frames to help zero-copying */
|
||||
dpb_size += 2;
|
||||
|
||||
decoder->input_state = gst_video_codec_state_ref (input_state);
|
||||
decoder->info = decoder->output_info = *out_info;
|
||||
|
|
Loading…
Reference in a new issue