Skip to content
Snippets Groups Projects
Commit e72a19a7 authored by Alaric Senat's avatar Alaric Senat Committed by Steve Lhomme
Browse files

stream: make `GetPtsDelay` impossible to fail

The documentation and code-usage state that streams cannot have that
control fail, only some types of demuxes can.

From the demuxer documentation:
>   /** Retrieves the PTS delay (roughly the default buffer duration).
>  * Can fail only if synchronous and <b>not</b> an access-demuxer. The
>  * underlying input stream then determines the PTS delay.
>  *
>  * arg1= vlc_tick_t * */
> DEMUX_GET_PTS_DELAY = 0x101,

From the stream documentation:
> STREAM_GET_PTS_DELAY = 0x101,/**< arg1= vlc_tick_t* res=cannot fail */

This patch reflects this behavior in the stream API.
parent 12787876
No related branches found
Tags libvlc-3.4.0-eap7
Loading
Pipeline #365625 passed with stage
in 20 minutes and 14 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment