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:
wm4 2018-02-02 16:09:11 +01:00 committed by Kevin Mitchell
parent c1b15ae437
commit 880ea467ca
No known key found for this signature in database
GPG Key ID: 559A34B46A917232
2 changed files with 1 additions and 4 deletions

View File

@ -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;
}

View File

@ -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