adaptivedemux: Fix startup SEGMENT seeking and setting for live
authorSeungha Yang <sh.yang@lge.com>
Thu, 10 Nov 2016 14:07:50 +0000 (23:07 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 15 Nov 2016 12:47:46 +0000 (14:47 +0200)
commite2dbc2affa897fa94e607a8da3ecc2a5c43211b3
treeffaa26307c021fc62b3e4161db75f7fc18603ae8
parentdcc7ab25f3e6771fc15d44fc90fc4b2bde9f95d4
adaptivedemux: Fix startup SEGMENT seeking and setting for live

Because fragment.timestamp is relative value to period_start,
startup SEGMENT seeking should be pointed to "fragment.timestamp + period_start"

https://bugzilla.gnome.org/show_bug.cgi?id=774196
gst-libs/gst/adaptivedemux/gstadaptivedemux.c