fallbackswitch: remove unused SinkState::eos

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1242>
This commit is contained in:
Guillaume Desmottes 2023-06-12 16:40:54 +02:00
parent 692d1bfb9e
commit 6ad0db2cdb

View file

@ -198,7 +198,6 @@ struct SinkState {
caps_info: CapsInfo,
current_running_time: Option<gst::ClockTime>,
eos: bool,
flushing: bool,
clock_id: Option<gst::SingleShotClockId>,
}
@ -212,7 +211,6 @@ impl Default for SinkState {
caps_info: CapsInfo::None,
current_running_time: gst::ClockTime::NONE,
eos: false,
flushing: false,
clock_id: None,
}
@ -233,7 +231,6 @@ impl SinkState {
}
fn reset(&mut self) {
self.flushing = false;
self.eos = false;
self.caps_info = CapsInfo::None;
}