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 7, 2015
1 parent f7e7017 commit 137eaf1
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 137eaf1

Please sign in to comment.