1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-13 18:45:25 +00:00
mpv/video/decode
wm4 41d38b3a2b vd_lavc: change VDCTRL_REINIT_VO behavior
This tried to use ctx->pic (last decoded AVFrame) for the frame bounds.
However, if av_frame_unref() on the AVFrame is called, the function will
reset _all_ AVFrame fields, even those which are not involved with
memory management. As result, mpcodecs_config_vo() was called with 0
width/height, which made the function exit early, instead of
reconfiguring the filter chain.

Go back to using mpcodecs_config_vo() directly. (That's what it did
before this VDCTRL was originally introduced; the original reason for
it disappeared.)
2013-05-18 17:32:37 +02:00
..
dec_video.c video: rename VDCTRL_RESET_ASPECT to VDCTRL_REINIT_VO 2013-05-18 17:32:37 +02:00
dec_video.h video: rename VDCTRL_RESET_ASPECT to VDCTRL_REINIT_VO 2013-05-18 17:32:37 +02:00
lavc_dr1.c vd_lavc: make non-reference frames writeable 2013-01-13 20:04:10 +01:00
lavc.h video: make use of libavcodec refcounting 2013-03-13 23:51:30 +01:00
vd_lavc.c vd_lavc: change VDCTRL_REINIT_VO behavior 2013-05-18 17:32:37 +02:00
vd.c vo: remove and cleanup globals 2013-03-04 17:40:21 +01:00
vd.h video: rename VDCTRL_RESET_ASPECT to VDCTRL_REINIT_VO 2013-05-18 17:32:37 +02:00