[vlc-devel] [PATCH 05/16] video_output: add missing else in next_system_pts check

Steve Lhomme robux4 at ycbcr.xyz
Mon Oct 19 10:25:54 CEST 2020


On 2020-10-19 10:22, Thomas Guillem wrote:
> 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.

Probably missing an I too.

>> ---
>>   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
> _______________________________________________
> 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