Skip to content

Commit

Permalink
omxplayer: testing give preference to dts timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed May 5, 2015
1 parent aa05bb2 commit 3738474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/omxplayer/OMXPlayerVideo.cpp
Expand Up @@ -496,7 +496,7 @@ void OMXPlayerVideo::Process()
if (pts != DVD_NOPTS_VALUE)
pts += m_iVideoDelay;

m_omxVideo.Decode(pPacket->pData, pPacket->iSize, dts, pts);
m_omxVideo.Decode(pPacket->pData, pPacket->iSize, dts, dts == DVD_NOPTS_VALUE ? pts : DVD_NOPTS_VALUE);

if (pts == DVD_NOPTS_VALUE)
pts = dts;
Expand Down

0 comments on commit 3738474

Please sign in to comment.