mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pipewiresrc: Fix caps leak
pwsrc->possible_caps wasn't un-reffed before re-assignment.
This commit is contained in:
parent
4dccddd564
commit
96ac4ae10d
1 changed files with 1 additions and 1 deletions
|
|
@ -1162,7 +1162,7 @@ gst_pipewire_src_negotiate (GstBaseSrc * basesrc)
|
|||
GST_DEBUG_OBJECT (basesrc, "connect capture with path %s, target-object %s",
|
||||
pwsrc->stream->path, pwsrc->stream->target_object);
|
||||
|
||||
pwsrc->possible_caps = gst_caps_ref (possible_caps);
|
||||
gst_caps_replace (&pwsrc->possible_caps, possible_caps);
|
||||
pwsrc->negotiated = FALSE;
|
||||
|
||||
enum pw_stream_flags flags;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue