Files
mpv/libmpcodecs
Uoti Urpala 8079f4ff82 demux, vd_ffmpeg: fix demux keyframe flag, set AV_PKT_FLAG_KEY
There was some confusion about the "flags" field in demuxer packets.
Demuxers set it to either 1 or 0x10 to indicate a keyframe (and the
field was not used to indicate anything else). This didn't cause
visible problems because nothing read the value. Replace the "flags"
field with a boolean "keyframe" field. Set AV_PKT_FLAG_KEY based on
this field in packets fed to libavcodec video decoders (looks like PNG
and ZeroCodec are the only ones which depend on values from demuxer;
previously this was hardcoded to true for PNG).

Make demux_mf set the keyframe field in every packet. This matters for
PNG files now that the demuxer flag is forwarded to libavcodec.

Fix logic setting the field in demux_mkv. It had probably not been
updated when adding SimpleBlock support. This probably makes no
difference for any current practical use.
2012-07-25 01:10:30 +03:00
..
2010-11-02 04:16:55 +02:00
2010-03-09 18:59:15 +02:00
2010-05-25 11:39:58 +00:00
2010-03-09 18:59:15 +02:00
2011-05-06 18:33:16 +03:00
2010-05-25 11:39:58 +00:00
2011-11-14 20:24:36 +02:00
…
2011-05-06 18:33:16 +03:00
2012-03-25 22:30:37 +03:00
2012-03-25 22:30:37 +03:00
2012-03-25 22:30:37 +03:00
2010-04-26 18:46:18 +03:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2010-03-09 18:59:15 +02:00
2011-05-02 00:46:48 +03:00
2011-05-02 00:46:48 +03:00
…
2011-05-06 18:33:16 +03:00
2010-06-05 23:37:42 +03:00
2011-04-20 04:36:05 +03:00
2010-04-26 18:25:34 +03:00
2012-02-01 22:46:27 +02:00
2010-06-05 23:37:42 +03:00
2010-06-02 19:12:01 +03:00
2011-04-20 04:22:53 +03:00
2011-05-06 18:33:16 +03:00
2011-05-02 00:46:48 +03:00
2012-02-01 22:46:27 +02:00
2012-03-25 22:30:37 +03:00
…