mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00:00
f_output_chain: remove unused got_input_eof field
Was used by the player code before decoders were moved to filters.
This commit is contained in:
parent
c1b15ae437
commit
880ea467ca
@ -406,8 +406,7 @@ static void process(struct mp_filter *f)
|
||||
if (mp_pin_can_transfer_data(p->filters_in, f->ppins[0])) {
|
||||
struct mp_frame frame = mp_pin_out_read(f->ppins[0]);
|
||||
|
||||
p->public.got_input_eof = frame.type == MP_FRAME_EOF;
|
||||
if (p->public.got_input_eof)
|
||||
if (frame.type == MP_FRAME_EOF)
|
||||
MP_VERBOSE(p, "filter input EOF\n");
|
||||
|
||||
if (frame.type == MP_FRAME_VIDEO && p->public.update_subtitles) {
|
||||
@ -441,7 +440,6 @@ static void reset(struct mp_filter *f)
|
||||
p->format_change_second_try = false;
|
||||
p->public.ao_needs_update = false;
|
||||
|
||||
p->public.got_input_eof = false;
|
||||
p->public.got_output_eof = false;
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ struct mp_output_chain {
|
||||
// This filter will have 1 input (from decoder) and 1 output (to VO/AO).
|
||||
struct mp_filter *f;
|
||||
|
||||
bool got_input_eof;
|
||||
bool got_output_eof;
|
||||
|
||||
// The filter chain output could not be converted to any format the output
|
||||
|
Loading…
Reference in New Issue
Block a user