summaryrefslogtreecommitdiff
path: root/gst/gstutils.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-25 05:54:09 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-25 05:54:09 +0100
commitfef887639c0384c2235d2affdf9477cea544d009 (patch)
treeb2d72a9be4b764e4d2f631ae8b841747052a718c /gst/gstutils.c
parent486560701183f90aa380cc2e1436bda13684544b (diff)
utils: fix debug of query result
Diffstat (limited to 'gst/gstutils.c')
-rw-r--r--gst/gstutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstutils.c b/gst/gstutils.c
index b0bf999eb..4ebc0319a 100644
--- a/gst/gstutils.c
+++ b/gst/gstutils.c
@@ -3121,8 +3121,8 @@ gst_pad_query_accept_caps (GstPad * pad, GstCaps * caps)
query = gst_query_new_accept_caps (caps);
if (gst_pad_query (pad, query)) {
- GST_DEBUG_OBJECT (pad, "query returned %d", res);
gst_query_parse_accept_caps_result (query, &res);
+ GST_DEBUG_OBJECT (pad, "query returned %d", res);
}
gst_query_unref (query);
@@ -3150,8 +3150,8 @@ gst_pad_peer_query_accept_caps (GstPad * pad, GstCaps * caps)
query = gst_query_new_accept_caps (caps);
if (gst_pad_peer_query (pad, query)) {
- GST_DEBUG_OBJECT (pad, "query returned %d", res);
gst_query_parse_accept_caps_result (query, &res);
+ GST_DEBUG_OBJECT (pad, "query returned %d", res);
}
gst_query_unref (query);