[vlc-devel] [PATCH 2/2] vout: don't wait for display if not needed
Thomas Guillem
thomas at gllm.fr
Mon Mar 1 14:16:28 UTC 2021
What about the chrono? The time to wait for the picture date won't be included anymore in the chrono average.
On Mon, Feb 22, 2021, at 07:38, Steve Lhomme wrote:
> OK for both
>
> On 2021-02-19 14:55, Thomas Guillem wrote:
> > ---
> > src/video_output/video_output.c | 5 +++--
> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
> > index d04d3f4d111..3817facd876 100644
> > --- a/src/video_output/video_output.c
> > +++ b/src/video_output/video_output.c
> > @@ -1314,9 +1314,10 @@ static int ThreadDisplayRenderPicture(vout_thread_sys_t *vout, bool render_now)
> > * rendered late. */
> > system_pts = system_now;
> > }
> > - else
> > + else if (vd->ops->display != NULL)
> > {
> > - /* Wait to reach system_pts */
> > + /* Wait to reach system_pts if the plugin doesn't handle
> > + * asynchronous display */
> > vlc_clock_Wait(sys->clock, system_now, pts, sys->rate,
> > VOUT_REDISPLAY_DELAY);
> >
> > --
> > 2.30.0
> >
> > _______________________________________________
> > 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