structured-interface: introduce TRY_GET_STRING
authorJustin Kim <justin.kim@collabora.com>
Wed, 23 Sep 2015 16:30:09 +0000 (01:30 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Mon, 28 Sep 2015 14:11:03 +0000 (16:11 +0200)
commitabf60df4af67f09f8915354d050166ba9e9d4f5c
tree494b85c82730c4760055ad53f65a9df5d7b05ace
parentaff2de6d5a6c8f85ec772aa43dde3abfcf5cc2aa
structured-interface: introduce TRY_GET_STRING

TRY_GET uses gst_structure_get. However, if boxed or
string pointer is retrieved by gst_structure_get,
it should be freed properly.

https://bugzilla.gnome.org/show_bug.cgi?id=755480
ges/ges-structured-interface.c