• Janne Grunau's avatar
    hwaccel: fix use with frame based multithreading · 05fa79b8
    Janne Grunau authored
    Allows use of AVHWAccel based decoders with frame based multithreading.
    The decoders will be forced into an non-concurrent mode by delaying
    ff_thread_finish_setup() calls after decoding of the current frame
    is finished.
    
    This wastes memory by unnecessarily using multiple threads and thus
    copies of the decoder context but allows seamless switching between
    hardware accelerated and frame threaded software decoding when the
    hardware decoder does not support the stream.
    05fa79b8
version.h 2.27 KB