On Mi, Jan 18, 2012 at 23:25:04 (CET), Ronald S. Bultje wrote:

> OK, so it can crash. What's the use case of draw_horiz_band if
> threading is enabled? Shouldn't the whole callback never be used,
> since we force codec delay? Is there a valid use case where the
> user-supplied draw_horiz_band should be called while threading is
> active and enabled?
>
> If not, we shouldn't revert the default back to 1 thread, but we
> should disable draw_horiz_band calls when threading is enabled. After
> all, threading gives a much bigger speed benefit than draw_horiz_band.

Another reason for reverting the default back to 1 thread might be to
avoid crashes with applications that use hwaccel, like vlc/vaapi:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656572

Cheers,
Reinhard

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to