mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
validate:scenario: sink refs when building
Scenarios are no owned by anyone, even if they are GstObjects Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4089>
This commit is contained in:
parent
84d6323610
commit
12c4893131
1 changed files with 2 additions and 0 deletions
|
@ -5292,6 +5292,8 @@ gst_validate_scenario_new (GstValidateRunner *
|
|||
g_object_new (GST_TYPE_VALIDATE_SCENARIO, "validate-runner",
|
||||
runner, NULL);
|
||||
|
||||
g_object_ref_sink (scenario);
|
||||
|
||||
if (structures) {
|
||||
gboolean is_config;
|
||||
gst_validate_scenario_load_structures (scenario, structures, &is_config,
|
||||
|
|
Loading…
Reference in a new issue