mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +02:00
demux: adaptive: call queue to create ES on empty content/subtitles
otherwise it is delayed until first data/pcr
This commit is contained in:
parent
310f94ef93
commit
9819fd9b42
@ -614,6 +614,7 @@ AbstractStream::Status AbstractStream::dequeue(Times deadline, Times *times)
|
|||||||
fakeEsOut()->commandsQueue()->getDemuxedMediaAmount(deadline).segment.media > 0)
|
fakeEsOut()->commandsQueue()->getDemuxedMediaAmount(deadline).segment.media > 0)
|
||||||
{
|
{
|
||||||
*times = deadline;
|
*times = deadline;
|
||||||
|
fakeEsOut()->commandsQueue()->Process(Times()); /* handle untimed events (es add) */
|
||||||
return Status::Demuxed;
|
return Status::Demuxed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user