mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
capsfilter: fix printf format
This commit is contained in:
parent
d612442fde
commit
61db882bae
1 changed files with 2 additions and 2 deletions
|
@ -279,14 +279,14 @@ gst_capsfilter_accept_caps (GstBaseTransform * base,
|
||||||
GST_OBJECT_UNLOCK (capsfilter);
|
GST_OBJECT_UNLOCK (capsfilter);
|
||||||
|
|
||||||
ret = gst_caps_can_intersect (caps, filter_caps);
|
ret = gst_caps_can_intersect (caps, filter_caps);
|
||||||
GST_DEBUG_OBJECT (capsfilter, "can intersect: %" GST_PTR_FORMAT, ret);
|
GST_DEBUG_OBJECT (capsfilter, "can intersect: %d", ret);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
/* if we can intersect, see if the other end also accepts */
|
/* if we can intersect, see if the other end also accepts */
|
||||||
if (direction == GST_PAD_SRC)
|
if (direction == GST_PAD_SRC)
|
||||||
ret = gst_pad_peer_accept_caps (GST_BASE_TRANSFORM_SINK_PAD (base), caps);
|
ret = gst_pad_peer_accept_caps (GST_BASE_TRANSFORM_SINK_PAD (base), caps);
|
||||||
else
|
else
|
||||||
ret = gst_pad_peer_accept_caps (GST_BASE_TRANSFORM_SRC_PAD (base), caps);
|
ret = gst_pad_peer_accept_caps (GST_BASE_TRANSFORM_SRC_PAD (base), caps);
|
||||||
GST_DEBUG_OBJECT (capsfilter, "peer accept: %" GST_PTR_FORMAT, ret);
|
GST_DEBUG_OBJECT (capsfilter, "peer accept: %d", ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_caps_unref (filter_caps);
|
gst_caps_unref (filter_caps);
|
||||||
|
|
Loading…
Reference in a new issue