Commit fdfe4ed4 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

goom*: fix leaked caps event

parent e71c7dc8
......@@ -383,6 +383,7 @@ gst_goom_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
gst_event_parse_caps (event, &caps);
res = gst_goom_sink_setcaps (goom, caps);
gst_event_unref (event);
break;
}
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);
res = gst_goom_sink_setcaps (goom, caps);
gst_event_unref (event);
break;
}
case GST_EVENT_FLUSH_START:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment