mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-24 17:44:14 +00:00
avidemux: fix some caps leaks
https://bugzilla.gnome.org//show_bug.cgi?id=776789
This commit is contained in:
parent
394be2c318
commit
a2d02300f8
1 changed files with 5 additions and 0 deletions
|
@ -176,6 +176,11 @@ gst_avi_demux_class_init (GstAviDemuxClass * klass)
|
|||
gst_element_class_add_pad_template (gstelement_class, subpicsrctempl);
|
||||
gst_element_class_add_static_pad_template (gstelement_class, &sink_templ);
|
||||
|
||||
gst_caps_unref (audcaps);
|
||||
gst_caps_unref (vidcaps);
|
||||
gst_caps_unref (subcaps);
|
||||
gst_caps_unref (subpiccaps);
|
||||
|
||||
gst_element_class_set_static_metadata (gstelement_class, "Avi demuxer",
|
||||
"Codec/Demuxer",
|
||||
"Demultiplex an avi file into audio and video",
|
||||
|
|
Loading…
Reference in a new issue