mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
vaapipostproc: log the caps transformation
https://bugzilla.gnome.org/show_bug.cgi?id=758548
This commit is contained in:
parent
ebf0d94534
commit
54a2d9fb77
1 changed files with 8 additions and 1 deletions
|
@ -1146,12 +1146,19 @@ gst_vaapipostproc_transform_caps (GstBaseTransform * trans,
|
|||
{
|
||||
GstCaps *out_caps;
|
||||
|
||||
GST_DEBUG_OBJECT (trans,
|
||||
"Transforming caps %" GST_PTR_FORMAT " in direction %s", caps,
|
||||
(direction == GST_PAD_SINK) ? "sink" : "src");
|
||||
|
||||
caps = gst_vaapipostproc_transform_caps_impl (trans, direction, caps);
|
||||
if (caps && filter) {
|
||||
out_caps = gst_caps_intersect_full (caps, filter, GST_CAPS_INTERSECT_FIRST);
|
||||
gst_caps_unref (caps);
|
||||
return out_caps;
|
||||
caps = out_caps;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (trans, "returning caps: %" GST_PTR_FORMAT, caps);
|
||||
|
||||
return caps;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue