Fix video/audio offset changing issues because of remapping in HLS input
This commit is contained in:
parent
1ec92b35a0
commit
0ab9b2b085
1 changed files with 2 additions and 0 deletions
|
@ -1308,6 +1308,7 @@ namespace Mist{
|
||||||
if (entry.timeOffset){
|
if (entry.timeOffset){
|
||||||
HIGH_MSG("Setting time offset of this TS segment to %" PRId64, entry.timeOffset);
|
HIGH_MSG("Setting time offset of this TS segment to %" PRId64, entry.timeOffset);
|
||||||
plsTimeOffset[currentPlaylist] = entry.timeOffset;
|
plsTimeOffset[currentPlaylist] = entry.timeOffset;
|
||||||
|
allowRemap = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1690,6 +1691,7 @@ namespace Mist{
|
||||||
// If we have an offset, load it
|
// If we have an offset, load it
|
||||||
if (ntry.timeOffset){
|
if (ntry.timeOffset){
|
||||||
plsTimeOffset[currentPlaylist] = ntry.timeOffset;
|
plsTimeOffset[currentPlaylist] = ntry.timeOffset;
|
||||||
|
allowRemap = false;
|
||||||
// Else allow of the offset to be set by getPacketTime
|
// Else allow of the offset to be set by getPacketTime
|
||||||
}else{
|
}else{
|
||||||
nUTC = ntry.mUTC;
|
nUTC = ntry.mUTC;
|
||||||
|
|
Loading…
Add table
Reference in a new issue