1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-11 09:29:29 +00:00
mpv/common
TheAMM 27db175ab6 recorder: clear packet queue after they've been muxed
In commit f7678575a5, wm4 chooses to mux
all remaining packets when mp_recorder_mark_discontinuity() is called and
adds a call to mux_packets(). However, it is called only after flush_packets(),
which clears the packets before they can be muxed out. This has no ill
effects per se  - recordings end on keyframes, as before - but judging from
his commit message, the intention explicitly was to output the inter
frames, since long GOPs can mean several seconds of missing content from
the output. So, clear the stream packet queues only after the final mux.

Also, flushing can mean both discarding and committing. What a country!
2021-07-08 12:44:06 +03:00
..
av_common.c build: address AVCodec, AVInputFormat, AVOutputFormat const warnings 2021-05-01 22:07:31 +02:00
av_common.h demux: use no overlapping packets for lossless audio 2019-09-19 20:37:04 +02:00
av_log.c player: rearrange libav* library check 2020-03-08 19:38:10 +01:00
av_log.h player: rearrange libav* library check 2020-03-08 19:38:10 +01:00
codecs.c codecs: remove unused family field 2018-02-01 10:21:55 +01:00
codecs.h codecs: remove unused family field 2018-02-01 10:21:55 +01:00
common.c common: add helper for subtracting rectangles 2020-05-22 14:17:46 +02:00
common.h common: add helper for subtracting rectangles 2020-05-22 14:17:46 +02:00
encode_lavc.c build: address AVCodec, AVInputFormat, AVOutputFormat const warnings 2021-05-01 22:07:31 +02:00
encode_lavc.h build: address AVCodec, AVInputFormat, AVOutputFormat const warnings 2021-05-01 22:07:31 +02:00
encode.h encode: disable unsupported media types automatically 2020-09-03 14:13:17 +02:00
global.h stats: some more performance graphs 2020-04-09 00:33:38 +02:00
msg_control.h player: add --term-title option 2020-05-25 20:39:37 +02:00
msg.c msg: fix really-quiet option to only affect terminal output 2021-02-23 00:56:21 +02:00
msg.h msg: add function to reduce log level 2020-05-10 16:40:26 +02:00
playlist.c client API: report IDs of inserted playlist entries on loading playlist 2020-03-27 00:57:11 +01:00
playlist.h client API: report IDs of inserted playlist entries on loading playlist 2020-03-27 00:57:11 +01:00
recorder.c recorder: clear packet queue after they've been muxed 2021-07-08 12:44:06 +03:00
recorder.h recorder: don't use a magic index for mp_recorder_get_sink() 2019-09-29 01:41:19 +02:00
stats.c player, stats: more silly debug stuff 2020-04-10 00:55:39 +02:00
stats.h player, stats: more silly debug stuff 2020-04-10 00:55:39 +02:00
tags.c demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
tags.h demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
version.c build: change filenames of generated files 2020-06-04 16:59:05 +02:00