hlsdemux: Send a flush-stop when switching pads. Fixes A->A/V sync issue.
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Wed, 31 Aug 2011 01:08:39 +0000 (01:08 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 31 Aug 2011 10:09:38 +0000 (12:09 +0200)
commitf93939b46cedcfe78bad3df4dd55ce410088032a
tree3946cf763d76aeb0503f36dd7b9e233cb1ad8363
parented5a5cc139ae9912386aef461a0bbe1555143ce3
hlsdemux: Send a flush-stop when switching pads. Fixes A->A/V sync issue.

This is to ensure that we reset the accumulate segment on the sinks
so if we start with audio only then switch to audio+video, then both
sinks will have the same segments and will be synchronized.
gst/hls/gsthlsdemux.c