value: fix crash serialising a 0 flags value when there's no name for it
authorAlban Browaeys <prahal@yahoo.com>
Tue, 28 Aug 2012 05:39:50 +0000 (07:39 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 29 Aug 2012 17:59:21 +0000 (18:59 +0100)
commit7bf7749c2b3c84a7474b5edac01d06d253d755c8
tree1dc4b8c00d1a897f54d136f451fbadf3439a5c03
parent985bc911a2ffb844e2d89014758d9d7458a5f7a5
value: fix crash serialising a 0 flags value when there's no name for it

Fixes segfault when doing gst-launch-1.0 -v -m camerabin
(encodebin notifies a 0 value for its "flag" property).

https://bugzilla.gnome.org/show_bug.cgi?id=682958
gst/gstvalue.c