aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dctref.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2013-03-13 23:36:51 +0100
committerJanne Grunau <janne-libav@jannau.net>2013-03-26 19:44:50 +0100
commit05fa79b8448059913dea321fdf92764b64deeecc (patch)
tree59d7af37b80925df399b5ac8d39b61962d3ea50d /libavcodec/dctref.c
parentc24469e812501903a46a06eff9722a82e136e841 (diff)
downloadffmpeg-05fa79b8448059913dea321fdf92764b64deeecc.tar.gz
hwaccel: fix use with frame based multithreading
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.
Diffstat (limited to 'libavcodec/dctref.c')
0 files changed, 0 insertions, 0 deletions