Quoting Timo Rothenpieler (2024-01-29 19:55:26)
> On 29.01.2024 19:31, Anton Khirnov wrote:
> > { NULL }
> > };
> >
> > @@ -688,7 +691,7 @@ static int next_frame_internal(AVFilterContext *avctx,
> > ID3D11Texture2D **desktop
> >
> > hr = IDXGIOutputDuplication_AcquireNextFrame(
> > dda->dxgi_outdupl,
> > - dda->time_timeout,
> > + need_frame ? INFINITE : dda->time_timeout,
>
> My main worry with this is that the filter could potentially be sitting
> there for a really, really long time.
I agree, ideally there should be some kind of an interrupt mechanism,
but AFAIK nothing of the sort exists in lavfi currently.
--
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".