remove cast, fix movie playback rate
This commit is contained in:
@@ -278,7 +278,7 @@ int FFMpeg_Helper::DecodePacket()
|
||||
{
|
||||
if ( GetNextTimestamp )
|
||||
{
|
||||
if (pkt.pts != int(AV_NOPTS_VALUE))
|
||||
if (pkt.pts != AV_NOPTS_VALUE)
|
||||
pts = (float)pkt.pts * m_fctx->pts_num / m_fctx->pts_den;
|
||||
else
|
||||
pts = -1;
|
||||
|
||||
Reference in New Issue
Block a user