mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ext/esd/esdsink.c: Unref static pad template after using it.
Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_open): Unref static pad template after using it.
This commit is contained in:
parent
e87cd3fd7a
commit
e1fcfeab25
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-03-05 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* ext/esd/esdsink.c: (gst_esdsink_open):
|
||||
Unref static pad template after using it.
|
||||
|
||||
2007-03-05 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* ext/gconf/gstswitchsink.c: (gst_switch_sink_dispose),
|
||||
|
|
|
@ -240,6 +240,7 @@ gst_esdsink_open (GstAudioSink * asink)
|
|||
|
||||
pad_template = gst_static_pad_template_get (&sink_factory);
|
||||
esdsink->cur_caps = gst_caps_copy (gst_pad_template_get_caps (pad_template));
|
||||
gst_object_unref (pad_template);
|
||||
|
||||
for (i = 0; i < esdsink->cur_caps->structs->len; i++) {
|
||||
GstStructure *s;
|
||||
|
|
Loading…
Reference in a new issue