>I do not konw. I notice that vf_scale() is not using
>sws_alloc_context(), then setting options then sws_init_context() while
>you use sws_getContext(), which includes sws_init_context(), and then
>you set the threads options. Therefore, I suspect you need to set the
>threads options before sws_init_context() is called.
I think I've started to understand how it works — ffmpeg does not use 
SwsContext / sws_getContext / sws_scale from exlample muxing.c, but 
AVFilterContext for scale
 
But why how to set threads for mjpeg codec context!?
 
>Please remember that top-posting is forbidden on this mailing-list; if
>you do not know what it means look it up.
Ок.
 
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to