video/gif: Don't set NON_DROPPABLE flag on buffers

It doesn't make sense in this context and the flag only exists since
1.12.
This commit is contained in:
Sebastian Dröge 2020-07-10 12:58:09 +03:00
parent c19a84bee1
commit c259d75a21

View file

@ -408,7 +408,6 @@ impl GifEnc {
{ {
let trailer_buffer = trailer_buffer.get_mut().unwrap(); let trailer_buffer = trailer_buffer.get_mut().unwrap();
trailer_buffer.set_pts(state.last_actual_pts); trailer_buffer.set_pts(state.last_actual_pts);
trailer_buffer.set_flags(gst::BufferFlags::NON_DROPPABLE);
} }
// Initialize the encoder again, to be ready for a new round without format change // Initialize the encoder again, to be ready for a new round without format change