An event called DECODER_STARVED is present in MediaAPI.java. When does mpeos layer send this event to upper layers? The header file in mpeos layer does not have any such event in RI 1.2.1.
The starvation event was replaced with a MPE_CONTENT_NOT_PRESENTING subcode: MPE_NOT_PRESENTING_NO_DATA. The definition of DECODER_STARVED/DECODER_NO_LONGER_STARVED in MediaAPI.java is vestigial and should be removed.
The MPE_CONTENT_NOT_PRESENTING/MPE_NOT_PRESENTING_NO_DATA event should be signaled by the platform when the decoder is not able to present video due to lack of data. e.g. when one of the PIDs specified in mpeos_mediaDecode() is not present in the stream.
Note that this event doesn't signal the termination of decoding. The event is an indication of a condition that may resolve (e.g. the PID re-appears). Recovery from the condition would be signaled via MPE_CONTENT_PRESENTING.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.