From: Kostya Shishkov Date: Wed, 14 Jun 2017 16:04:48 +0000 (+0200) Subject: i263: limit the number of frames tested X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=e14e53e893bd6c7c7af7ba397b5a9ff3212dee6e;p=nihav.git i263: limit the number of frames tested --- diff --git a/src/codecs/h263/intel263.rs b/src/codecs/h263/intel263.rs index 7ef46e6..fb9459c 100644 --- a/src/codecs/h263/intel263.rs +++ b/src/codecs/h263/intel263.rs @@ -557,7 +557,7 @@ mod test { panic!("error"); } let pkt = pktres.unwrap(); - //if pkt.get_pts().unwrap() > 146 { break; } + if pkt.get_pts().unwrap() > 16 { break; } let streamno = pkt.get_stream().get_id() as usize; if let Some(ref mut dec) = decs[streamno] { let frm = dec.decode(&pkt).unwrap();