projects
/
nihav-tool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix lastpts handling
[nihav-tool.git]
/
src
/
main.rs
diff --git
a/src/main.rs
b/src/main.rs
index c1f44281ed156e8155a19d1085c85ac594d10652..87c718cf11a4823c1c4ce1682bbe8561698f5eee 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-162,7
+162,7
@@
panic!("decoder {} not found", info.get_name());
};
}
}
- if pkt.get_pts() != None && pkt.get_pts() >= lastpts { break; }
+ if pkt.get_pts() != None &&
lastpts.is_some() &&
pkt.get_pts() >= lastpts { break; }
}
//panic!("end");
}