mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
va: basedec: No need to call base class' decide_allocation().
We have already done the jobs in gst_va_base_dec_decide_allocation() and no need to call base class' decide_allocation() again. The base class' decide_allocation() will set_format() again and let use do the image/surface testing again, which is low performance and no needed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1698>
This commit is contained in:
parent
32133c85d3
commit
6e72f45a8f
1 changed files with 1 additions and 2 deletions
|
@ -334,8 +334,7 @@ gst_va_base_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
|||
gst_object_unref (allocator);
|
||||
gst_object_unref (pool);
|
||||
|
||||
return GST_VIDEO_DECODER_CLASS (parent_class)->decide_allocation (decoder,
|
||||
query);
|
||||
return TRUE;
|
||||
|
||||
wrong_caps:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue