summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-19 18:19:57 +0200
committerwm4 <wm4@nowhere>2015-10-19 18:19:57 +0200
commit50f8548b2f11a20cac2b55f6408b3cc4fe5df239 (patch)
treebe31396220451d4e953ce99e10d91aa83befbea8 /player/video.c
parent0ab6031d76df43a8204e2bbc7eae2a93eb1cc383 (diff)
downloadmpv-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 'player/video.c')
0 files changed, 0 insertions, 0 deletions