Skip to content

Commit

Permalink
[pgs/subs] - fix pgs subs vanishing to early by initialising the pkt_…
Browse files Browse the repository at this point in the history
…timebase which was introduced in ffmpeg bump and which is used internally for calculating the pts of the pgs subs now
  • Loading branch information
Memphiz committed Aug 15, 2013
1 parent ad5e4ab commit 98fcac9
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -63,6 +63,8 @@ bool CDVDOverlayCodecFFmpeg::Open(CDVDStreamInfo &hints, CDVDCodecOptions &optio
m_pCodecContext->codec_tag = hints.codec_tag; m_pCodecContext->codec_tag = hints.codec_tag;
m_pCodecContext->time_base.num = 1; m_pCodecContext->time_base.num = 1;
m_pCodecContext->time_base.den = DVD_TIME_BASE; m_pCodecContext->time_base.den = DVD_TIME_BASE;
m_pCodecContext->pkt_timebase.num = 1;
m_pCodecContext->pkt_timebase.den = DVD_TIME_BASE;


if( hints.extradata && hints.extrasize > 0 ) if( hints.extradata && hints.extrasize > 0 )
{ {
Expand Down

0 comments on commit 98fcac9

Please sign in to comment.