Zebediah Figura : winegstreamer: Trace the unfiltered caps in sink_query_cb().
Alexandre Julliard
julliard at winehq.org
Wed Oct 6 15:51:39 CDT 2021
Module: wine
Branch: master
Commit: fd6315eb8f6809b89b7449f4b9dd01453de32eda
URL: https://source.winehq.org/git/wine.git/?a=commit;h=fd6315eb8f6809b89b7449f4b9dd01453de32eda
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Wed Oct 6 11:46:36 2021 -0500
winegstreamer: Trace the unfiltered caps in sink_query_cb().
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
More information about the wine-cvs
mailing list