<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;">Hi,<br><br>Why does adaptivedemux (and by extension dashdemux) blindly unlink its source pads when advancing a period and immediately proceed to present new source pads for the new period and continue playing? Is there not a risk that there is still buffered data in the original pipeline that needs to be fully drained first?<br><br>Was stream selection not considered an appropriate way of solving this, where a stream collection message could be sent for the imminent period, but the period only advanced when a stream selection message is received once it is known that all sinks have completed draining?<br><br>Regards,<br><br>Joe<br><div><br></div></div><br></body></html>