summaryrefslogtreecommitdiffstats
path: root/audio/out/internal.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-09 17:57:17 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-10-11 14:01:21 +0200
commitf66e320d7b08c78e05b8a3a523c85809ee7cc6ae (patch)
tree0d54add828a5dbdbd5aea62e058bc718531cd632 /audio/out/internal.h
parentfa2381765e6a9acb5b7ab4402b82b58d32ed3b03 (diff)
downloadmpv-f66e320d7b08c78e05b8a3a523c85809ee7cc6ae.tar.bz2
mpv-f66e320d7b08c78e05b8a3a523c85809ee7cc6ae.tar.xz
video: try harder to decode cover art picture only once
For cover art, we pretend that the video stream is infinite, but also stop decoding once we have an image on the VO (this seems advantageous for the case when strange filters are inserted or the VO image gets lost). Since a while ago, the video chain started decoding 2 images though ("Non-monotonic video pts: 0.000000 <= 0.000000"), which is annoying and wasteful. Improve this by handling a certain corner case at initialization, which will decode a second image while the first one is still stuck in the filter chain. Also, just in case there are filters which buffer a lot, also force EOF filtering (which means we tell the filters to flush buffered frames). CC: @mpv-player/stable
Diffstat (limited to 'audio/out/internal.h')
0 files changed, 0 insertions, 0 deletions