GST_BUFFER_FLAG_DROPPABLE to detect keyframes?

Olivier Crête olivier.crete at
Mon Feb 17 16:38:51 UTC 2020


DROPPABLE isn't related to keyframes.. !DELTA is all you need. A
keyframe could even be droppable.


On Mon, 2020-02-17 at 17:26 +0100, Juan Navarro wrote:
> Should GST_BUFFER_FLAG_DROPPABLE be considered when trying to identify
> video keyframes?
> Docs on buffer flags are a bit too precise about what each flag does,
> but tend to be vague about what it actually _means_ in the more general
> sense, so I haven't been able to discern if this is enough to classify a
> buffer as keyframe:
> or if this would be a better / more robust choice:
> or if these two flags are related in such way that they will always come
> together when the frame is indeed a keyframe, and thus this expression
> would be better:
> Here they say "maybe" it's a good idea checking for "DROPPABLE":
> And here it is mentioned that "NON_DROPPABLE" might mean keyframe, so I
> guess by extension we should assume that "DROPPABLE" might mean
> non-keyframe:
> (under "New RTP
> features and improvements")
> But I'm missing a more concrete piece of text talking about the
> implications of DELTA_UNIT, DROPPABLE / NON_DROPPABLE, and the meaning
> of their possible combinations, if any.
> Could someone that knows about this share a bit of know-how?
> Thanks :)
> Juan
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at
Olivier Crête
olivier.crete at

More information about the gstreamer-devel mailing list