debugutils: fix order of caps on an unnegotiated link
authorStefan Sauer <ensonic@users.sf.net>
Mon, 4 Feb 2013 09:30:32 +0000 (10:30 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 5 Feb 2013 18:42:43 +0000 (18:42 +0000)
headlabel is the sink_pad (where the link points to) and not the other way around.

gst/gstdebugutils.c

index e67a77c4bf25c5ebd213d4f367b12a17c32e2ece..a39e279cd27343e4581faff3fab484dddd338d3d 100644 (file)
@@ -399,7 +399,7 @@ debug_dump_element_pad_link (GstPad * pad, GstElement * element,
        * we need an empty label to make space */
       fprintf (out, "%s%s_%s -> %s_%s [labeldistance=\"10\", labelangle=\"0\", "
           "label=\"                                                  \", "
-          "headlabel=\"%s\", taillabel=\"%s\"]\n",
+          "taillabel=\"%s\", headlabel=\"%s\"]\n",
           spc, element_name, pad_name, peer_element_name, peer_pad_name,
           media_src, media_sink);
       g_free (media_src);