OpenMAX IL clarification for using OMX_EventBufferFlag
Section 18.104.22.168.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?
Re: OpenMAX IL clarification for using OMX_EventBufferFlag
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.