qtdemux: Only activate segments and send SEGMENT events if we have streams
authorSebastian Dröge <sebastian@centricular.com>
Tue, 31 May 2016 14:04:32 +0000 (17:04 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 1 Jun 2016 06:32:03 +0000 (09:32 +0300)
commit84e698c531d04cd8e22fc2962c6b6e63e239d4db
tree9e520fbeb95d7ef1e6b70c969130ed872b405cd7
parentf8eb909d904c8551f94884537f3bb5613bf88e30
qtdemux: Only activate segments and send SEGMENT events if we have streams

But in that case also remove the pending newsegment event, otherwise we would
later send a possibly outdated event.

https://bugzilla.gnome.org/show_bug.cgi?id=767071
gst/isomp4/qtdemux.c