summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-24 23:40:01 +0100
committerwm4 <wm4@nowhere>2020-03-24 23:40:01 +0100
commite31fbbeeee2018c9008a7ee160ef4d76221602da (patch)
tree14917618e9977414ec5499cf40e0f66eba236b7c /player
parent7768452f2d9e1f22e4b6ac3d8ec7bb0fee7b13a6 (diff)
downloadmpv-e31fbbeeee2018c9008a7ee160ef4d76221602da.tar.bz2
mpv-e31fbbeeee2018c9008a7ee160ef4d76221602da.tar.xz
vd_lavc: make hwdec fallback message more consistent
The "rule" is that a fallback warning message should be shown only shown if software decoding was used before, or in other words when either hwdec was enabled before, but the stream suddenly falls back, or it was attempted to enable it at runtime, and it didn't work. The message wasn't printed the first time in the latter case, because hwdec_notified was not set in forced software decoding mode. Fix it with this commit. Fortunately, the logic becomes simpler.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions