[FFmpeg-devel] [PATCH 3/6] lavf: set pkt_timebase at the same time as stream->time_base.
Nicolas George
nicolas.george at normalesup.org
Sun Jul 15 17:53:03 CEST 2012
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
libavformat/utils.c | 1 +
1 file changed, 1 insertion(+)
Without that, all places need to be updated like ffmpeg.c in 744bd8d.
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 39527a6..ae3a39a 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4184,6 +4184,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;
}
--
1.7.10.4
More information about the ffmpeg-devel
mailing list