adder: use the pad in logging as objects

Helps to differenciate between source and sinks pads.
This commit is contained in:
Stefan Kost 2009-05-19 01:03:44 +03:00
parent 98c93d6722
commit 591fbbcea7

View file

@ -288,7 +288,7 @@ gst_adder_setcaps (GstPad * pad, GstCaps * caps)
gst_structure_get_int (structure, "endianness", &adder->endianness);
gst_structure_get_boolean (structure, "signed", &adder->is_signed);
GST_INFO_OBJECT (adder, "parse_caps sets adder to format int, %d bit",
GST_INFO_OBJECT (pad, "parse_caps sets adder to format int, %d bit",
adder->width);
if (adder->endianness != G_BYTE_ORDER)
@ -315,7 +315,7 @@ gst_adder_setcaps (GstPad * pad, GstCaps * caps)
gst_structure_get_int (structure, "width", &adder->width);
gst_structure_get_int (structure, "endianness", &adder->endianness);
GST_INFO_OBJECT (adder, "parse_caps sets adder to format float, %d bit",
GST_INFO_OBJECT (pad, "parse_caps sets adder to format float, %d bit",
adder->width);
if (adder->endianness != G_BYTE_ORDER)