1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/video/decode
wm4 392856ed4d vd_lavc: by default, output all frames, even corrupted ones
Set the flag CODEC_FLAG_OUTPUT_CORRUPT by default. Note that there is
also CODEC_FLAG2_SHOW_ALL, which is older, but this seems to be ffmpeg
only.

Note that whether you want this enabled depends on the user. Some might
prefer that only good frames are output, while others want the decoder
to try as hard as possible to output _anything_. Since mplayer/mpv is
rather the kind of player that tries hard instead of being "clever", set
the new default to override libavcodec's default.

A nice way to test this is switching video tracks. Since mpv doesn't
wait for the next key frame, it'll start feeding the decoder with a
packet from the middle of the stream.
2013-12-29 14:19:22 +01:00
..
dec_video.c codecs: mp_msg conversion 2013-12-21 20:50:12 +01:00
dec_video.h video/decode: mp_msg conversions 2013-12-21 20:50:10 +01:00
lavc_dr1.c build: make pthreads mandatory 2013-11-28 19:28:38 +01:00
lavc.h video/decode: mp_msg conversions 2013-12-21 20:50:10 +01:00
vaapi.c vaapi: mp_msg conversions 2013-12-21 20:50:11 +01:00
vd_lavc.c vd_lavc: by default, output all frames, even corrupted ones 2013-12-29 14:19:22 +01:00
vd.h video: move video filter chain initialization from decoder to player 2013-12-10 20:07:39 +01:00
vda.c vda: attempt to fix build (2) 2013-12-22 01:44:19 +01:00
vdpau_old.c vdpau: mp_msg conversions 2013-12-21 20:50:11 +01:00
vdpau.c vdpau: mp_msg conversions 2013-12-21 20:50:11 +01:00