aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2017-10-07 17:58:55 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2017-10-07 17:58:55 +0200
commitbe27380cee1c95d8abf69a92d051ab7af5ff3962 (patch)
tree639cfd3b0827ac450b667525a5587f986cd29012 /src
parentce52b3b5f57c73d8d55373e635c383f4403e04a7 (diff)
downloadnihav-be27380cee1c95d8abf69a92d051ab7af5ff3962.tar.gz
tests: use more digits in output picture name
Diffstat (limited to 'src')
-rw-r--r--src/test/dec_video.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/dec_video.rs b/src/test/dec_video.rs
index 4094d3a..e192fd4 100644
--- a/src/test/dec_video.rs
+++ b/src/test/dec_video.rs
@@ -9,7 +9,7 @@ use super::wavwriter::WavWriter;
fn write_pgmyuv(pfx: &str, strno: usize, num: u64, frmref: NAFrameRef) {
let frm = frmref.borrow();
if let NABufferType::None = frm.get_buffer() { return; }
- let name = format!("assets/{}out{:02}_{:04}.pgm", pfx, strno, num);
+ let name = format!("assets/{}out{:02}_{:06}.pgm", pfx, strno, num);
let mut ofile = File::create(name).unwrap();
let buf = frm.get_buffer().get_vbuf().unwrap();
let (w, h) = buf.get_dimensions(0);
@@ -68,7 +68,7 @@ fn write_pgmyuv(pfx: &str, strno: usize, num: u64, frmref: NAFrameRef) {
fn write_palppm(pfx: &str, strno: usize, num: u64, frmref: NAFrameRef) {
let frm = frmref.borrow();
- let name = format!("assets/{}out{:02}_{:04}.ppm", pfx, strno, num);
+ let name = format!("assets/{}out{:02}_{:06}.ppm", pfx, strno, num);
let mut ofile = File::create(name).unwrap();
let buf = frm.get_buffer().get_vbuf().unwrap();
let (w, h) = buf.get_dimensions(0);