[vlc-devel] [PATCH] demux/adaptive: fix incorrect PCR
Zhao Zhili
wantlamy at gmail.com
Fri Jul 7 05:56:28 CEST 2017
---
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 781f2c8..3ae04a4 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -378,6 +378,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) )
--
2.7.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170707/2e05f99a/attachment.html>
More information about the vlc-devel
mailing list