flvmux: Add skip-backwards-streams property
authorVivia Nikolaidou <vivia@ahiru.eu>
Tue, 31 Mar 2020 11:32:19 +0000 (14:32 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Mon, 27 Apr 2020 13:18:34 +0000 (16:18 +0300)
commit6a389615610c72eef3766a650f087478e4d991e0
treec54f73309d1d8d9d2ef8284b86fb791356d1f00b
parentb0855113c628abe0581fb5f410f9db20a65bca40
flvmux: Add skip-backwards-streams property

Backwards timestamps confuse librtmp, even if they're only backwards
relative to the other stream. If the timestamp of a stream is going
backwards related to the other stream, this property allows the muxer to
skip a few buffers until it reaches the timestamp of the other stream.

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