vlc | branch: master | Steve Lhomme <[email protected]> | Tue Jan 12 10:07:34 2021 +0100| [5c1280acbcd5be8ea285c63d8b75c3e86e887734] | committer: Steve Lhomme
x264: the frame rate of the output block is one of the output format > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c1280acbcd5be8ea285c63d8b75c3e86e887734 --- modules/codec/x264.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/codec/x264.c b/modules/codec/x264.c index dbb8ea2ddc..70049f50b8 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -1546,8 +1546,8 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict ) { /* This isn't really valid for streams with B-frames */ p_block->i_length = vlc_tick_from_samples( - p_enc->fmt_in.video.i_frame_rate_base, - p_enc->fmt_in.video.i_frame_rate ); + p_enc->fmt_out.video.i_frame_rate_base, + p_enc->fmt_out.video.i_frame_rate ); } /* scale pts-values back*/ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
