projects
/
nihav-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd9ece3
)
fix lastpts handling
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 6 Sep 2018 09:45:21 +0000
(11:45 +0200)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 6 Sep 2018 09:45:21 +0000
(11:45 +0200)
src/main.rs
patch
|
blob
|
blame
|
history
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");
}