Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- This has come in handy when debugging several times.
dlls/winegstreamer/wg_parser.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/winegstreamer/wg_parser.c b/dlls/winegstreamer/wg_parser.c index 9a382cb724c..0c23ae6d351 100644 --- a/dlls/winegstreamer/wg_parser.c +++ b/dlls/winegstreamer/wg_parser.c @@ -1006,6 +1006,7 @@ static gboolean sink_query_cb(GstPad *pad, GstObject *parent, GstQuery *query) case GST_QUERY_CAPS: { GstCaps *caps, *filter, *temp; + gchar *str;
gst_query_parse_caps(query, &filter);
@@ -1016,6 +1017,10 @@ static gboolean sink_query_cb(GstPad *pad, GstObject *parent, GstQuery *query) if (!caps) return FALSE;
+ str = gst_caps_to_string(caps); + GST_LOG("Stream caps are "%s".", str); + g_free(str); + if (filter) { temp = gst_caps_intersect(caps, filter);