projects
/
nihav-tool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check end PTS only for packets that are decoded
[nihav-tool.git]
/
src
/
main.rs
diff --git
a/src/main.rs
b/src/main.rs
index 71ccda6490e4ccf8a7ef0d73ff9efaae68818e67..bb6a7bc1c6fde740f353f0b5b10ef7fe9b3def87 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-237,8
+237,8
@@
panic!("decoder {} not found", info.get_name());
break;
},
};
+ if pkt.get_pts() != None && lastpts.is_some() && pkt.get_pts() >= lastpts { break; }
}
- if pkt.get_pts() != None && lastpts.is_some() && pkt.get_pts() >= lastpts { break; }
}
//panic!("end");
}