Skip to content

Commit

Permalink
Revert "FIX: [MVC;SSIF] avoid being stuck"
Browse files Browse the repository at this point in the history
This reverts commit 535b705876e31fd20e45c93c45b3a5d3e12bf74a.
  • Loading branch information
popcornmix committed Jan 17, 2016
1 parent 9cc8ad3 commit b2ca3a9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,6 @@ DemuxPacket* CDVDDemuxFFmpeg::GetMVCPacket()
}
else if (tsH264 > tsMVC)
{
// H264 before MVC ?
#if defined(DEBUG_VERBOSE)
CLog::Log(LOGDEBUG, ">>> MVC missing mvc: %d, pts(%f) dts (%f)", h264pkt->iSize, h264pkt->pts, h264pkt->dts);
#endif
Expand All @@ -820,12 +819,6 @@ DemuxPacket* CDVDDemuxFFmpeg::GetMVCPacket()
m_MVCqueue.pop();
}
}
else if (!m_MVCqueue.empty())
{
// pop or we are stuck
CDVDDemuxUtils::FreeDemuxPacket(m_MVCqueue.front());
m_MVCqueue.pop();
}
newpkt = CDVDDemuxUtils::AllocateDemuxPacket(0);
newpkt->iSize = 0;
}
Expand All @@ -836,16 +829,6 @@ DemuxPacket* CDVDDemuxFFmpeg::GetMVCPacket()
CDVDDemuxUtils::FreeDemuxPacket(m_H264queue.front());
m_H264queue.pop();
}
else if (!m_H264queue.empty())
{
// missing an MVC packets
#if defined(DEBUG_VERBOSE)
CLog::Log(LOGDEBUG, ">>> MVC missing mvc2: %d, pts(%f) dts (%f)", h264pkt->iSize, h264pkt->pts, h264pkt->dts);
#endif
// pop or we are stuck
CDVDDemuxUtils::FreeDemuxPacket(m_H264queue.front());
m_H264queue.pop();
}
newpkt = CDVDDemuxUtils::AllocateDemuxPacket(0);
newpkt->iSize = 0;
}
Expand Down

0 comments on commit b2ca3a9

Please sign in to comment.