mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 11:08:34 +00:00
gst/base/gstbasesrc.c: Don't unref the caps we passed to gst_caps_make_writable() after passing them. gst_caps_make_w...
Original commit message from CVS: * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate): Don't unref the caps we passed to gst_caps_make_writable() after passing them. gst_caps_make_writable() will do that for us.
This commit is contained in:
parent
1ac0654d11
commit
d34751b8c2
3 changed files with 8 additions and 10 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
|
||||
Don't unref the caps we passed to gst_caps_make_writable() after
|
||||
passing them. gst_caps_make_writable() will do that for us.
|
||||
|
||||
2005-07-15 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
|
||||
|
|
|
@ -785,11 +785,7 @@ gst_base_src_default_negotiate (GstBaseSrc * basesrc)
|
|||
caps = thiscaps;
|
||||
}
|
||||
if (caps) {
|
||||
GstCaps *normalized;
|
||||
|
||||
normalized = gst_caps_make_writable (caps);
|
||||
gst_caps_unref (caps);
|
||||
caps = normalized;
|
||||
caps = gst_caps_make_writable (caps);
|
||||
gst_caps_truncate (caps);
|
||||
|
||||
gst_pad_fixate_caps (GST_BASE_SRC_PAD (basesrc), caps);
|
||||
|
|
|
@ -785,11 +785,7 @@ gst_base_src_default_negotiate (GstBaseSrc * basesrc)
|
|||
caps = thiscaps;
|
||||
}
|
||||
if (caps) {
|
||||
GstCaps *normalized;
|
||||
|
||||
normalized = gst_caps_make_writable (caps);
|
||||
gst_caps_unref (caps);
|
||||
caps = normalized;
|
||||
caps = gst_caps_make_writable (caps);
|
||||
gst_caps_truncate (caps);
|
||||
|
||||
gst_pad_fixate_caps (GST_BASE_SRC_PAD (basesrc), caps);
|
||||
|
|
Loading…
Reference in a new issue