hlsdemux: Only set the segment position if there is a timestamp
authorThiago Santos <ts.santos@sisa.samsung.com>
Mon, 5 May 2014 14:13:09 +0000 (11:13 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Mon, 5 May 2014 14:35:35 +0000 (11:35 -0300)
commitb891bd04d50424410c43865f30150e3553f84b59
tree71d827b974e10d3268236ff5b512b0ca45740972
parent7f81c3b073f7500ce85fea60bb4ccd9e8bc912e6
hlsdemux: Only set the segment position if there is a timestamp

Only the first buffer of a fragment has its timestamp set, so only
update the segment.position when pushing those buffers to avoid
having GST_CLOCK_TIME_NONE set to the position

https://bugzilla.gnome.org/show_bug.cgi?id=729364
ext/hls/gsthlsdemux.c