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)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 4 Feb 2013 09:31:46 +0000 (10:31 +0100)
headlabel is the sink_pad (where the link points to) and not the other way around.

gst/gstdebugutils.c

index 4f90de2..23c8f9b 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);