PDA

View Full Version : OpenMAX IL clarification for using OMX_EventBufferFlag



dbrim
02-23-2013, 02:00 PM
Hello

Section 3.1.1.4.5 OMX_EventBufferFlag of Spec 1.1.2 describes when a component should generate this event. There is an ambiguity in interpretting the language of the spec.

"A component generates the OMX_EventBufferFlag event when an output port emits a buffer with the OMX_BUFFERFLAG_EOS flag set in the nFlags field."

For a component that propagates stream further for ex: decoder component, should it generate the said event "before" propagating the EOS flag on output buffer or "after" propagating the EOS flag on output buffer or it is implementation specific?

Thanks

Neeraj02
02-28-2013, 10:06 PM
The same section further states:
"....the component shall send an OMX_EventBufferFlag event for that stream when it has finished processing a buffer with OMX_BUFFERFLAG_EOS set.
"

IMO, it would be meaningful to send the event "after" propagating the EOS flag on output buffer.

Regards.