winegstreamer: Trace the unfiltered caps in sink_query_cb().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3efb72de5a
commit
fd6315eb8f
|
@ -1006,6 +1006,7 @@ static gboolean sink_query_cb(GstPad *pad, GstObject *parent, GstQuery *query)
|
||||||
case GST_QUERY_CAPS:
|
case GST_QUERY_CAPS:
|
||||||
{
|
{
|
||||||
GstCaps *caps, *filter, *temp;
|
GstCaps *caps, *filter, *temp;
|
||||||
|
gchar *str;
|
||||||
|
|
||||||
gst_query_parse_caps(query, &filter);
|
gst_query_parse_caps(query, &filter);
|
||||||
|
|
||||||
|
@ -1016,6 +1017,10 @@ static gboolean sink_query_cb(GstPad *pad, GstObject *parent, GstQuery *query)
|
||||||
if (!caps)
|
if (!caps)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
str = gst_caps_to_string(caps);
|
||||||
|
GST_LOG("Stream caps are \"%s\".", str);
|
||||||
|
g_free(str);
|
||||||
|
|
||||||
if (filter)
|
if (filter)
|
||||||
{
|
{
|
||||||
temp = gst_caps_intersect(caps, filter);
|
temp = gst_caps_intersect(caps, filter);
|
||||||
|
|
Loading…
Reference in New Issue