summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_lavfi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-09 17:57:17 +0200
committerwm4 <wm4@nowhere>2014-10-09 17:57:17 +0200
commitbc6b8caa6d461a1c536f435d5b76cda903ae4f4a (patch)
treea6ef2c2319416738d0a45e6696a95e102e6e3070 /video/filter/vf_lavfi.c
parent69673271e8dcb68377a15808fd4cb199b48cf4fa (diff)
downloadmpv-bc6b8caa6d461a1c536f435d5b76cda903ae4f4a.tar.bz2
mpv-bc6b8caa6d461a1c536f435d5b76cda903ae4f4a.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 'video/filter/vf_lavfi.c')
0 files changed, 0 insertions, 0 deletions