splitmuxsrc: properly set total duration on outgoing segment
authorTim-Philipp Müller <tim@centricular.com>
Thu, 25 Jan 2018 00:46:57 +0000 (00:46 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 29 Jan 2018 11:29:24 +0000 (11:29 +0000)
commitddd4fe680f5379d4ddf6ee06166870626f9c5cec
tree2d50ba6be0dad264cda6e641808fc76a30bc184f
parent07ae64118df86d7e5b711d5966b6dc35009e8473
splitmuxsrc: properly set total duration on outgoing segment

We would accidentally pass through the duration value from the
demuxer from a single fragment, which causes problems when
feeding the stream from splitmuxsrc to rtsp-server. Streaming
would stop after one fragment due to that.

https://bugzilla.gnome.org/show_bug.cgi?id=792861
gst/multifile/gstsplitmuxsrc.c