Reinhard Tartler <[email protected]> writes: > 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:
Sounds like a bug to be fixed. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
