[vlc-commits] demux: adaptive: set expected time offset
Francois Cartegnie
git at videolan.org
Mon Jan 16 20:49:49 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jan 16 17:14:50 2017 +0100| [a8cdcf9b0b6ba008403033b3e6404b91d2c0f275] | committer: Francois Cartegnie
demux: adaptive: set expected time offset
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8cdcf9b0b6ba008403033b3e6404b91d2c0f275
---
modules/demux/adaptive/Streams.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index 9cf6222..b5cf95f 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -521,12 +521,11 @@ void AbstractStream::setTimeOffset(mtime_t i_offset)
* will start from zero from seek point */
if(i_offset < 0) /* reset */
{
- fakeesout->setTimestampOffset(0);
+ fakeesout->setExpectedTimestampOffset(0);
}
else if(demuxer)
{
- if(demuxer->alwaysStartsFromZero())
- fakeesout->setTimestampOffset(i_offset);
+ fakeesout->setExpectedTimestampOffset(i_offset);
}
}
More information about the vlc-commits
mailing list