mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
launch: Ensure to add required ref to profiles from project
We were unreffing something we were not owning Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/224>
This commit is contained in:
parent
bdfe6e4477
commit
d1aa359c2b
1 changed files with 3 additions and 0 deletions
|
@ -493,6 +493,9 @@ _set_rendering_details (GESLauncher * self)
|
|||
gst_encoding_profile_get_name (profiles->data)) == 0)
|
||||
prof = profiles->data;
|
||||
}
|
||||
|
||||
if (prof)
|
||||
prof = gst_object_ref (prof);
|
||||
}
|
||||
|
||||
if (!prof) {
|
||||
|
|
Loading…
Reference in a new issue