xvimage: fix crash when outputting debug log
authorTim-Philipp Müller <tim@centricular.com>
Sun, 10 Aug 2014 16:27:14 +0000 (17:27 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 10 Aug 2014 16:27:14 +0000 (17:27 +0100)
commitd960a25a19025c76f2b79928c7437c5b112bf9cb
tree318acd18b25f8b9c57fca1b55fc1dfc9c9496a2b
parenta285f7126b0af08d59a8dc7a14461e1ea6a76706
xvimage: fix crash when outputting debug log

Can't print a GstMemory via GST_PTR_FORMAT, it will crash
inside GObject checking if it's a GObject, and we can't
check generically whether it's a derived GstMemory type,
as boxed types don't allowe derivation.
sys/xvimage/xvimageallocator.c