Skip to content
  • Edward Hervey's avatar
    decodebin2: Don't post async-done when not needed · b8dea19b
    Edward Hervey authored
    Where it was previously located, we would get async-done for the first
    unknown-type, even if other valid streams would appear afterwards.
    decode_bin_expose() will take care of posting async-done when the group
    is exposed.
    
    But we still want to post it in case the typefinding returned an unknown
    type, in which case we will post it after posting an error.
    
    These two changes ensure we do as much as possible before posting async-done.
    b8dea19b