event/message: Don't allow setting invalid group ids
authorSebastian Dröge <sebastian@centricular.com>
Fri, 24 Jan 2020 15:52:49 +0000 (17:52 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 24 Jan 2020 15:53:30 +0000 (17:53 +0200)
commit1b2f968efc53f52721053378cee9b114ba10236d
tree4c91c4779175d8833e9be2d512e47f7da3e4b0df
parent48f14c5e5ea1420795984d28bed1cf9fd7fb2711
event/message: Don't allow setting invalid group ids

They are optional on STREAM_START messages/events but if available
should have at least a valid value.

For STREAM_GROUP_DONE events don't allow creating it with an invalid
group id as this does not make any sense.
gst/gstevent.c
gst/gstmessage.c