Skip to content

Commit

Permalink
fixup: MVC: Use correct codecpar->codec_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 11, 2017
1 parent 8b5997e commit a9c9a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ CDemuxStream* CDVDDemuxFFmpeg::AddStream(int streamIdx)
if (m_pSSIF)
{
m_pSSIF->SetH264StreamId(streamIdx);
pStream->codec->codec_tag = MKTAG('A', 'M', 'V', 'C');
pStream->codecpar->codec_tag = MKTAG('A', 'M', 'V', 'C');

AVStream* mvcStream = nullptr;
CDVDInputStream::IExtentionStream* pExt = dynamic_cast<CDVDInputStream::IExtentionStream*>(m_pInput);
Expand Down Expand Up @@ -1523,7 +1523,7 @@ CDemuxStream* CDVDDemuxFFmpeg::AddStream(int streamIdx)
}
else if (CDVDCodecUtils::ProcessH264MVCExtradata(pStream->codec->extradata, pStream->codec->extradata_size))
{
pStream->codec->codec_tag = MKTAG('M', 'V', 'C', '1');
pStream->codecpar->codec_tag = MKTAG('M', 'V', 'C', '1');
}
}
break;
Expand Down

0 comments on commit a9c9a35

Please sign in to comment.