Skip to content

Commit

Permalink
Merge pull request #1576 from CastagnaIT/sub_wait
Browse files Browse the repository at this point in the history
[AdaptiveStream] Removed ignore waitforsegment for subtitles
  • Loading branch information
CastagnaIT authored Jun 17, 2024
2 parents b9c6a90 + 914271a commit b19e011
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/common/AdaptiveStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1272,9 +1272,6 @@ size_t adaptive::AdaptiveStream::getSegmentPos()

bool AdaptiveStream::waitingForSegment() const
{
if (current_adp_->GetStreamType() == StreamType::SUBTITLE)
return false;

if ((m_tree->HasManifestUpdates() || m_tree->HasManifestUpdatesSegs()) && state_ == RUNNING)
{
std::lock_guard<adaptive::AdaptiveTree::TreeUpdateThread> lckUpdTree(m_tree->GetTreeUpdMutex());
Expand Down

0 comments on commit b19e011

Please sign in to comment.