mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
plugins: remove precondition for decide_allocation()
There's no need to check for the display in the plugin object when decide_allocation() vmethod is called, because the display will created or re-created along the method execution.
This commit is contained in:
parent
4c99077af4
commit
f189af8dc5
1 changed files with 0 additions and 2 deletions
|
@ -790,8 +790,6 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin,
|
|||
guint idx;
|
||||
#endif
|
||||
|
||||
g_return_val_if_fail (plugin->display != NULL, FALSE);
|
||||
|
||||
gst_query_parse_allocation (query, &caps, NULL);
|
||||
if (!caps)
|
||||
goto error_no_caps;
|
||||
|
|
Loading…
Reference in a new issue