i263: limit the number of frames tested
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 14 Jun 2017 16:04:48 +0000 (18:04 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 14 Jun 2017 16:04:48 +0000 (18:04 +0200)
src/codecs/h263/intel263.rs

index 7ef46e629a52de8a9cde5c99fa188682c6aebf34..fb9459c59249fb25b928ae774f7344fa8f3fc365 100644 (file)
@@ -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();