winegstreamer: Trace wg_transform input and output caps.
This commit is contained in:
parent
e891073c9e
commit
6dae92cfb9
1 changed files with 8 additions and 0 deletions
|
@ -324,6 +324,8 @@ NTSTATUS wg_transform_create(void *args)
|
|||
if (!transform->my_src)
|
||||
goto out;
|
||||
|
||||
GST_INFO("transform %p input caps %"GST_PTR_FORMAT, transform, src_caps);
|
||||
|
||||
gst_pad_set_element_private(transform->my_src, transform);
|
||||
gst_pad_set_query_function(transform->my_src, transform_src_query_cb);
|
||||
|
||||
|
@ -336,6 +338,8 @@ NTSTATUS wg_transform_create(void *args)
|
|||
if (!transform->my_sink)
|
||||
goto out;
|
||||
|
||||
GST_INFO("transform %p output caps %"GST_PTR_FORMAT, transform, transform->output_caps);
|
||||
|
||||
gst_pad_set_element_private(transform->my_sink, transform);
|
||||
gst_pad_set_event_function(transform->my_sink, transform_sink_event_cb);
|
||||
gst_pad_set_query_function(transform->my_sink, transform_sink_query_cb);
|
||||
|
@ -505,6 +509,8 @@ NTSTATUS wg_transform_set_output_format(void *args)
|
|||
}
|
||||
transform->output_format = *format;
|
||||
|
||||
GST_INFO("transform %p output caps %"GST_PTR_FORMAT, transform, caps);
|
||||
|
||||
if (gst_caps_is_always_compatible(transform->output_caps, caps))
|
||||
{
|
||||
gst_caps_unref(caps);
|
||||
|
@ -795,6 +801,8 @@ NTSTATUS wg_transform_read_data(void *args)
|
|||
{
|
||||
GST_MINI_OBJECT_FLAG_UNSET(transform->output_sample, GST_SAMPLE_FLAG_WG_CAPS_CHANGED);
|
||||
|
||||
GST_INFO("transform %p output caps %"GST_PTR_FORMAT, transform, output_caps);
|
||||
|
||||
if (format)
|
||||
{
|
||||
gsize plane_align = transform->attrs.output_plane_align;
|
||||
|
|
Loading…
Add table
Reference in a new issue