I would think you would want different SwsContexts for each thread. Otherwise you'd set the parameters for the first thread, and then the second thread would override those parameters used in the structure.
On Mon, Sep 18, 2017 at 10:19 AM, Martin Belleau < [email protected]> wrote: > I see that sws_scale has srcSliceY and srcSliceH, which should allow to > perform scaling of different slices in parallel. > > Is there any sample code which demonstrates how to use it? > > Should the same SwsContext be used to scale all the slices? > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
