Skip to content
  • Edward Hervey's avatar
    qtdemux: Reset adapter in more discontinuity cases · 58e30337
    Edward Hervey authored and Edward Hervey's avatar Edward Hervey committed
    In push mode we process as much as possible in the adapter. When we receive
    a DISCONT buffer which we can't match to an actual sample (based on the existing
    sample table) and there is still data remaining in the incoming adapter,there is
    one of two cases happening:
    1) We are doing reverse playback, in which case we should flush out all pending
      data
    2) We have leftover data from the previous incoming buffer... which we can't do
      anything about.
    
    For the second case, make sure we flush out the remaining data so that we can start
    parsing again from scratch.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781319
    58e30337