hlssink: round segment duration to nearest number of seconds
authorVictor Gottardi <vgottardi@hotmail.com>
Wed, 5 Dec 2012 15:06:38 +0000 (10:06 -0500)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 6 Jan 2013 22:53:10 +0000 (22:53 +0000)
commit4fb227b340dd6b87dcc91bf81fa4610bd1b59bbd
treeac52907e4c76885130aebf7bff6b261f6476a5a7
parentc313b7e212935d5c3b988e805f9d95bbff3d8892
hlssink: round segment duration to nearest number of seconds

E.g. for 1s period, duration can be 0.99s, rounds down to 0, results in invalid
playlist

https://bugzilla.gnome.org/show_bug.cgi?id=689822
gst/hls/gstm3u8playlist.c