mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed already.
Original commit message from CVS: 2005-08-24 Andy Wingo <wingo@pobox.com> * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed already.
This commit is contained in:
parent
4101d268d0
commit
b2c0b3a162
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-08-24 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
|
||||
already.
|
||||
|
||||
2005-08-24 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstbuffer.c: (gst_buffer_new_and_alloc):
|
||||
|
|
|
@ -91,6 +91,8 @@ various utility functions
|
|||
parent_type_as_macro:
|
||||
@\
|
||||
parent_type_as_macro:
|
||||
@\
|
||||
parent_type_as_macro:
|
||||
@\
|
||||
parent_type_as_macro:
|
||||
@interface_type:
|
||||
|
@ -105,6 +107,8 @@ various utility functions
|
|||
interface_as_function:
|
||||
@\
|
||||
interface_as_function:
|
||||
@\
|
||||
interface_as_function:
|
||||
@\
|
||||
interface_as_function:
|
||||
|
||||
|
|
|
@ -1890,6 +1890,9 @@ gst_pad_fixate_caps (GstPad * pad, GstCaps * caps)
|
|||
g_return_if_fail (GST_IS_PAD (pad));
|
||||
g_return_if_fail (caps != NULL);
|
||||
|
||||
if (gst_caps_is_fixed (caps))
|
||||
return;
|
||||
|
||||
fixatefunc = GST_PAD_FIXATECAPSFUNC (pad);
|
||||
if (fixatefunc) {
|
||||
fixatefunc (pad, caps);
|
||||
|
|
Loading…
Reference in a new issue