parse: Fix transfer annotations for parse_launch functions.
authorJan Schmidt <thaytan@noraisin.net>
Sat, 12 Oct 2013 05:16:09 +0000 (16:16 +1100)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 12 Oct 2013 05:20:50 +0000 (16:20 +1100)
commit75b7387f8bb04b52eff356e8fa79cc22e34d09f4
tree8c70120bc89869bf7ea8c2d67f4b51840052880c
parent94a3394edffb0e27a44464625b07bebf28991b4b
parse: Fix transfer annotations for parse_launch functions.

gst_parse_launchv, gst_parse_launchv_full and gst_parse_launch_full
all return floating refs, the same as gst_parse_launch, which just
calls gst_parse_launch_full internally anyway.

Add a unit test assertion to check it's true.

Spotted by nemequ on IRC.
gst/gstparse.c
tests/check/pipelines/parse-launch.c