1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
mpv/filters
wm4 0b4120919a f_decoder_wrapper: retry decoding if libavcodec returns invalid state
At least the libavcodec MediaCodec wrapper sometimes seems to break the
libavcodec API, and does the following sequence:

  send_packet() -> EAGAIN
  receive_frame() -> EAGAIN
  send_packet() -> OK

The libavcodec API never allows returning EAGAIN from both functions, so
we discarded packets in this case. Change it to retrying decoding, for
the sake of MediaCodec. Note that it could also happen due to internal
bugs in the vd_lavc.c hw fallback code, but if there are any remaining,
they should be fixed properly instead.

Requested.
2018-03-26 19:47:08 +02:00
..
f_auto_filters.c video: fix --video-rotate in some cases 2018-02-18 16:21:56 +01:00
f_auto_filters.h
f_autoconvert.c
f_autoconvert.h
f_decoder_wrapper.c f_decoder_wrapper: retry decoding if libavcodec returns invalid state 2018-03-26 19:47:08 +02:00
f_decoder_wrapper.h audio: move back PTS jump detection to before filter chain 2018-02-13 17:45:29 -08:00
f_demux_in.c f_demux_in: give it a slightly better filter name 2018-02-05 02:47:14 -08:00
f_demux_in.h video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
f_hwtransfer.c f_hwtransfer: more detailed logging 2018-03-15 23:13:53 -07:00
f_hwtransfer.h
f_lavfi.c f_lavfi: extend filter help output 2018-02-13 17:45:29 -08:00
f_lavfi.h f_lavfi: fix typo in comment 2018-02-13 17:45:29 -08:00
f_output_chain.c audio: improve behavior if filters output nothing during probing 2018-02-21 22:35:24 -08:00
f_output_chain.h f_output_chain: remove unused got_input_eof field 2018-02-03 05:01:32 -08:00
f_swresample.c swresample: minor simplification 2018-02-03 05:01:34 -08:00
f_swresample.h swresample: limit output size of audio frames 2018-02-03 05:01:29 -08:00
f_swscale.c
f_swscale.h
f_utils.c f_utils: fix leak in frame duration filter 2018-02-03 05:01:30 -08:00
f_utils.h
filter_internal.h
filter.c filter: fix potential NULL pointer deref 2018-02-16 22:04:15 -08:00
filter.h filter: extend documentation comments 2018-02-13 17:45:29 -08:00
frame.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
frame.h video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
user_filters.c options: slightly improve filter help output for lavfi bridge 2018-02-03 05:00:52 -08:00
user_filters.h