mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 13:38:48 +00:00
goom*: fix leaked caps event
This commit is contained in:
parent
e71c7dc8f9
commit
fdfe4ed445
2 changed files with 2 additions and 0 deletions
|
@ -383,6 +383,7 @@ gst_goom_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
|
|
||||||
gst_event_parse_caps (event, &caps);
|
gst_event_parse_caps (event, &caps);
|
||||||
res = gst_goom_sink_setcaps (goom, caps);
|
res = gst_goom_sink_setcaps (goom, caps);
|
||||||
|
gst_event_unref (event);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_FLUSH_START:
|
case GST_EVENT_FLUSH_START:
|
||||||
|
|
|
@ -379,6 +379,7 @@ gst_goom_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
|
|
||||||
gst_event_parse_caps (event, &caps);
|
gst_event_parse_caps (event, &caps);
|
||||||
res = gst_goom_sink_setcaps (goom, caps);
|
res = gst_goom_sink_setcaps (goom, caps);
|
||||||
|
gst_event_unref (event);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_FLUSH_START:
|
case GST_EVENT_FLUSH_START:
|
||||||
|
|
Loading…
Reference in a new issue