[vlc-devel] [PATCH 05/16] video_output: add missing else in next_system_pts check
Thomas Guillem
thomas at gllm.fr
Mon Oct 19 10:22:55 CEST 2020
Indeed
On Fri, Oct 16, 2020, at 16:26, Steve Lhomme wrote:
> If next_system_pts is INT64_MAX the date_next value cannot be computed
> correctly.
>
> Probably mssing from 23d2a4ccc0a65e706b2bef69221761d55c6ba4e3.
> ---
> src/video_output/video_output.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/video_output/video_output.c
> b/src/video_output/video_output.c
> index b3cecff36d1..aa7056a5f22 100644
> --- a/src/video_output/video_output.c
> +++ b/src/video_output/video_output.c
> @@ -1508,6 +1508,7 @@ static int ThreadDisplayPicture(vout_thread_sys_t
> *vout, vlc_tick_t *deadline)
> * the current one). */
> paused = true;
> }
> + else
> {
> date_next = next_system_pts - render_delay;
> if (date_next <= system_now)
> --
> 2.26.2
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list