mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-01 05:39:51 +00:00
ext/ogg/gstoggmux.c: Don't leak caps.
Original commit message from CVS: * ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers): Don't leak caps.
This commit is contained in:
parent
ff7304769f
commit
35d40ee0ed
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers):
|
||||
Don't leak caps.
|
||||
|
||||
2005-11-28 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put),
|
||||
|
|
|
@ -969,6 +969,7 @@ gst_ogg_mux_send_headers (GstOggMux * mux)
|
|||
if (caps) {
|
||||
caps = gst_ogg_mux_set_header_on_caps (caps, hbufs);
|
||||
gst_pad_set_caps (mux->srcpad, caps);
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
/* and send the buffers */
|
||||
hwalk = hbufs;
|
||||
|
|
Loading…
Reference in a new issue