[vlc-commits] codec: dav1d: propagate frame rate
Francois Cartegnie
git at videolan.org
Wed Mar 24 15:07:39 UTC 2021
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 24 16:04:21 2021 +0100| [2f4a397ee33950c44da5733d9a3ee5c3ed06bedd] | committer: Francois Cartegnie
codec: dav1d: propagate frame rate
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f4a397ee33950c44da5733d9a3ee5c3ed06bedd
---
modules/codec/dav1d.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index dcb0921318..c414381e51 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -412,6 +412,9 @@ static int OpenDecoder(vlc_object_t *p_this)
sequence_hdr = AV1_OBU_parse_sequence_header(obu_start, obu_size);
}
+ dec->fmt_out.video.i_frame_rate = dec->fmt_in.video.i_frame_rate;
+ dec->fmt_out.video.i_frame_rate_base = dec->fmt_in.video.i_frame_rate_base;
+
if (!sequence_hdr)
{
dec->fmt_out.i_codec = VLC_CODEC_I420;
More information about the vlc-commits
mailing list