X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Freorder.rs;h=625e759952caa7cfb656d7141cad7cc4b894dc61;hp=83896df5958394fc9d665d02244ab57949cc28a9;hb=b36f412c24813b14cb2b1f8fd151863e2a49c1e2;hpb=36ce88be3f590a876fe539c8f631a58af2ea2cac diff --git a/nihav-core/src/reorder.rs b/nihav-core/src/reorder.rs index 83896df..625e759 100644 --- a/nihav-core/src/reorder.rs +++ b/nihav-core/src/reorder.rs @@ -32,6 +32,12 @@ impl NoReorderer { } } +impl Default for NoReorderer { + fn default() -> Self { + Self::new() + } +} + impl FrameReorderer for NoReorderer { fn add_frame(&mut self, fref: NAFrameRef) -> bool { if self.fref.is_none() {