diff options
author | wm4 <wm4@nowhere> | 2015-10-19 18:19:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-19 18:19:57 +0200 |
commit | 50f8548b2f11a20cac2b55f6408b3cc4fe5df239 (patch) | |
tree | be31396220451d4e953ce99e10d91aa83befbea8 /osdep/path-macosx.m | |
parent | 0ab6031d76df43a8204e2bbc7eae2a93eb1cc383 (diff) | |
download | mpv-50f8548b2f11a20cac2b55f6408b3cc4fe5df239.tar.bz2 mpv-50f8548b2f11a20cac2b55f6408b3cc4fe5df239.tar.xz |
vd_lavc: attempt to fallback from hwdec before anything is decoded
The previous commit moved the av_frame_unref() after the got_picture
check. This accidentally also deferred the software fallback
reinitialization to until a software picture was decoded (instead of the
exact time of the fallback), which is not ideal.
Just rely on the fact that calling av_frame_unref() on a frame is ok
even if nothing was decoded.
Diffstat (limited to 'osdep/path-macosx.m')
0 files changed, 0 insertions, 0 deletions