event: Don't allow invalid SELECT_STREAMS event creation
authorEdward Hervey <edward@centricular.com>
Fri, 27 Oct 2017 07:53:06 +0000 (09:53 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 27 Oct 2017 07:53:06 +0000 (09:53 +0200)
commitc0c9a531efd3e40068037b7d8109ec8fbe6553a6
tree5c7cda247fbf9c56cf18d09957700be000768ea1
parent4844adf193b8ea4d289898f0a0019daad47731c1
event: Don't allow invalid SELECT_STREAMS event creation

Asking to select no streams makes no sense and can create various
issues.

If one doesn't one any stream it should deactivate (or not use) the
element in question.
gst/gstevent.c