mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavf: set pkt_timebase at the same time as stream->time_base.
This commit is contained in:
parent
0e18ac5611
commit
0e57d79b0c
@ -4198,6 +4198,7 @@ void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits,
|
||||
return;
|
||||
}
|
||||
s->time_base = new_tb;
|
||||
av_codec_set_pkt_timebase(s->codec, new_tb);
|
||||
s->pts_wrap_bits = pts_wrap_bits;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user