Skip to content

Commit

Permalink
Fix mks container
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdr428 committed Sep 17, 2023
1 parent e17fcdc commit db58158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsMuxer/metaDemuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ int METADemuxer::addStream(const string& codec, const string& codecStreamName, c
else
codecReader->setSrcContainerType(AbstractStreamReader::ContainerType::ctVOB);
}
else if (strEndWith(tmpname, ".mkv") || strEndWith(tmpname, ".mka"))
else if (strEndWith(tmpname, ".mkv") || strEndWith(tmpname, ".mka") || strEndWith(tmpname, ".mks"))
{
if (pid)
dataReader = &m_containerReader;
Expand Down Expand Up @@ -1420,7 +1420,7 @@ bool ContainerToReaderWrapper::openStream(int readerID, const char* streamName,
demuxer = m_demuxers[streamName].m_demuxer = new ProgramStreamDemuxer(m_readManager);
m_demuxers[streamName].m_streamName = streamName;
}
else if (ext == "MKV" || ext == "MKA")
else if (ext == "MKV" || ext == "MKA" || ext == "MKS")
{
demuxer = m_demuxers[streamName].m_demuxer = new MatroskaDemuxer(m_readManager);
m_demuxers[streamName].m_streamName = streamName;
Expand Down

2 comments on commit db58158

@oniiz86
Copy link

@oniiz86 oniiz86 commented on db58158 Sep 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcdr428 I was wondering if any other builds will be able for this nightly or is this a mac specific fix? Will there also be any forthcoming w32/w64 builds?

@jcdr428
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oniiz86 There has been a timeout problem with this nightly, next nigthly will include all builds.

Please sign in to comment.