mirror of
https://github.com/mpv-player/mpv
synced 2024-12-17 12:25:03 +00:00
fixed wrong delta_frame calculation that would affect soft-telecine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17540 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5433d82ef1
commit
6f759b4d40
@ -1934,7 +1934,7 @@ static size_t parse_mpeg12_video(muxer_stream_t *s, muxer_priv_t *priv, muxer_he
|
||||
d1 = temp_ref - spriv->last_tr;
|
||||
if(gop_reset)
|
||||
{
|
||||
frames_diff = spriv->max_tr + temp_ref - spriv->last_tr;
|
||||
frames_diff = spriv->max_tr + 1 + temp_ref - spriv->last_tr;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user