[vlc-commits] demux: adaptive: fix regression with non zero starting content
Francois Cartegnie
git at videolan.org
Thu Oct 8 12:47:27 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 8 12:41:46 2020 +0200| [694c5b02e9c996353e20dc494ab49c6e8a81a60e] | committer: Francois Cartegnie
demux: adaptive: fix regression with non zero starting content
regression by 15f5497b25797f3d190598a0f523ad6031cb7cd1
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=694c5b02e9c996353e20dc494ab49c6e8a81a60e
---
modules/demux/adaptive/plumbing/CommandsQueue.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/plumbing/CommandsQueue.cpp b/modules/demux/adaptive/plumbing/CommandsQueue.cpp
index e0253b11a2..fc41d9b8b5 100644
--- a/modules/demux/adaptive/plumbing/CommandsQueue.cpp
+++ b/modules/demux/adaptive/plumbing/CommandsQueue.cpp
@@ -454,7 +454,7 @@ bool CommandsQueue::isEOF() const
vlc_tick_t CommandsQueue::getDemuxedAmount(vlc_tick_t from) const
{
- if( from > bufferinglevel || from < getFirstDTS() )
+ if( from > bufferinglevel )
return 0;
if( from > getFirstDTS() )
return bufferinglevel - from;
More information about the vlc-commits
mailing list