mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
set freed caps to NULL
Original commit message from CVS: set freed caps to NULL
This commit is contained in:
parent
9df878658c
commit
f98a10e5d0
1 changed files with 1 additions and 0 deletions
|
@ -1837,6 +1837,7 @@ gst_pad_link_unnegotiate (GstPadLink *link)
|
|||
{
|
||||
if (link->caps) {
|
||||
gst_caps_free (link->caps);
|
||||
link->caps = NULL;
|
||||
if (GST_RPAD_LINK (link->srcpad) != link) {
|
||||
g_warning ("unnegotiating unset link");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue