diff options
author | wm4 <wm4@nowhere> | 2018-02-04 19:00:28 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-04 16:24:17 -0800 |
commit | beb8d27912cb8d831962ac386b26d7b02929307d (patch) | |
tree | a20e42bfd09dd3c05ab6151ada0d555fd4faebae /osdep/semaphore.h | |
parent | 59f9547fb56b93356625c663dfe9978cbbf168ff (diff) | |
download | mpv-beb8d27912cb8d831962ac386b26d7b02929307d.tar.bz2 mpv-beb8d27912cb8d831962ac386b26d7b02929307d.tar.xz |
vd_lavc: fix recently broken hardware decode fallback
This is a dataflow issue caused by the filters change. When the fallback
happens, vd_lavc does not return a frame, but also does not accept a new
packet, which confuses lavc_process(). Fix this by immediately retrying
to feed the buffered packet and decode a frame on fallback.
Fixes #5489.
Diffstat (limited to 'osdep/semaphore.h')
0 files changed, 0 insertions, 0 deletions