[vlc-commits] demux/adaptive: fix incorrect PCR
Zhao Zhili
git at videolan.org
Thu Jul 13 15:20:47 CEST 2017
vlc | branch: master | Zhao Zhili <wantlamy at gmail.com> | Fri Jul 7 11:52:44 2017 +0800| [b64cd4096e67da947dd9814396ba62c7083ba871] | committer: Francois Cartegnie
demux/adaptive: fix incorrect PCR
Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b64cd4096e67da947dd9814396ba62c7083ba871
---
modules/demux/adaptive/plumbing/FakeESOut.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/adaptive/plumbing/FakeESOut.cpp b/modules/demux/adaptive/plumbing/FakeESOut.cpp
index 3d85fa3387..87b70bb34a 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -377,6 +377,7 @@ int FakeESOut::esOutControl_Callback(es_out_t *fakees, int i_query, va_list args
else
i_group = 0;
int64_t pcr = va_arg( args, int64_t );
+ me->checkTimestampsStart( pcr );
pcr += me->getTimestampOffset();
AbstractCommand *command = me->commandsqueue->factory()->createEsOutControlPCRCommand( i_group, pcr );
if( likely(command) )
More information about the vlc-commits
mailing list