flvmux: Allow requesting streamable pads after header is written
authorVivia Nikolaidou <vivia@ahiru.eu>
Tue, 31 Mar 2020 11:10:35 +0000 (14:10 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Mon, 27 Apr 2020 11:11:10 +0000 (14:11 +0300)
commitb0855113c628abe0581fb5f410f9db20a65bca40
tree530ebcf22c1bcd97343a4dda44eb775b88e1aa90
parent7f6fb07f85d87a7e9ccd37966a49e22855516216
flvmux: Allow requesting streamable pads after header is written

Allows us to request pads after writing header for streamable flv's.

For non-streamable it doesn't make sense to request a new pad after
writing the header, because the headers have been written already and we
can't add the new stream. But for streamable, any clients that connect
after the new pad has been added will be able to see both streams.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/572>
gst/flv/gstflvmux.c