Fix timestamp truncated to 32 bits in TS segment with $Time$ in template
Fixes #701.
This commit is contained in:
parent
7aab7a8b50
commit
1ed7de268d
1
AUTHORS
1
AUTHORS
|
@ -15,6 +15,7 @@
|
|||
|
||||
Anders Hasselqvist <anders.hasselqvist@gmail.com>
|
||||
Chun-da Chen <capitalm.c@gmail.com>
|
||||
Daniel Cantarín <canta@canta.com.ar>
|
||||
Google Inc. <*@google.com>
|
||||
Leandro Moreira <leandro.ribeiro.moreira@gmail.com>
|
||||
Leo Law <leoltlaw.gh@gmail.com>
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
Anders Hasselqvist <anders.hasselqvist@gmail.com>
|
||||
Bei Li <beil@google.com>
|
||||
Chun-da Chen <capitalm.c@gmail.com>
|
||||
Daniel Cantarín <canta@canta.com.ar>
|
||||
David Cavar <pal3thorn@gmail.com>
|
||||
Gabe Kopley <gabe@philo.com>
|
||||
Haoming Chen <hmchen@google.com>
|
||||
|
|
|
@ -125,7 +125,7 @@ void TsSegmenter::SetTsWriterFileOpenedForTesting(bool value) {
|
|||
ts_writer_file_opened_ = value;
|
||||
}
|
||||
|
||||
Status TsSegmenter::OpenNewSegmentIfClosed(uint32_t next_pts) {
|
||||
Status TsSegmenter::OpenNewSegmentIfClosed(int64_t next_pts) {
|
||||
if (ts_writer_file_opened_)
|
||||
return Status::OK;
|
||||
const std::string segment_name =
|
||||
|
|
|
@ -71,7 +71,7 @@ class TsSegmenter {
|
|||
void SetTsWriterFileOpenedForTesting(bool value);
|
||||
|
||||
private:
|
||||
Status OpenNewSegmentIfClosed(uint32_t next_pts);
|
||||
Status OpenNewSegmentIfClosed(int64_t next_pts);
|
||||
|
||||
// Writes PES packets (carried in TsPackets) to a file. If a file is not open,
|
||||
// it will open one. This will not close the file.
|
||||
|
|
Loading…
Reference in New Issue