Commit 80c8b988 authored by Marvin Scholz's avatar Marvin Scholz Committed by Anton Khirnov

avcodec/mediacodec: link to related documentation

parent 56bbfe11
......@@ -90,11 +90,13 @@ int av_mediacodec_release_buffer(AVMediaCodecBuffer *buffer, int render);
* that is associated with the decoder. The timestamp must be within one second
* of the current `java/lang/System#nanoTime()` (which is implemented using
* `CLOCK_MONOTONIC` on Android). See the Android MediaCodec documentation
* of `android/media/MediaCodec#releaseOutputBuffer(int,long)` for more details.
* of [`android/media/MediaCodec#releaseOutputBuffer(int,long)`][0] for more details.
*
* @param buffer the buffer to render
* @param time timestamp in nanoseconds of when to render the buffer
* @return 0 on success, < 0 otherwise
*
* [0]: https://developer.android.com/reference/android/media/MediaCodec#releaseOutputBuffer(int,%20long)
*/
int av_mediacodec_render_buffer_at_time(AVMediaCodecBuffer *buffer, int64_t time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment