-
Edward Hervey authored
This ensures the decoder is properly drained out when receiving a DISCONT buffer. The optimal way of doing this would have been to receive a GAP event before hand but it is not always possible. Fixes big delays with some decoders (ex gst-libav) that will not drain out data when only decoding keyframes. https://bugzilla.gnome.org/show_bug.cgi?id=767232
eb1ebf22