Commit 535c8413 authored by Zhao Zhili's avatar Zhao Zhili Committed by François Cartegnie

demux: adaptive: filter out invalid dts for PCR calculation

Signed-off-by: François Cartegnie's avatarFrancois Cartegnie <>
(cherry picked from commit 8caf5ab3)
parent 67972f97
......@@ -355,7 +355,11 @@ mtime_t CommandsQueue::Process( es_out_t *out, mtime_t barrier )
if( command->getType() == ES_OUT_PRIVATE_COMMAND_SEND )
lastdts = command->getTime();
mtime_t dts = command->getTime();
if( dts != VLC_TS_INVALID )
lastdts = dts;
command->Execute( out );
delete command;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment