From c259d75a21113fa5e2cf016b7bddf2dadba5c063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 10 Jul 2020 12:58:09 +0300 Subject: [PATCH] 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. --- video/gif/src/gifenc.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/video/gif/src/gifenc.rs b/video/gif/src/gifenc.rs index 8c3f9cef..d2c93874 100644 --- a/video/gif/src/gifenc.rs +++ b/video/gif/src/gifenc.rs @@ -408,7 +408,6 @@ impl GifEnc { { let trailer_buffer = trailer_buffer.get_mut().unwrap(); 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