mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
392856ed4d
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. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
lavc_dr1.c | ||
lavc.h | ||
vaapi.c | ||
vd_lavc.c | ||
vd.h | ||
vda.c | ||
vdpau_old.c | ||
vdpau.c |