[vlc-commits] transcode: user ENC_FRAMERATE_BASE instead of fixed value
Ilkka Ollakka
git at videolan.org
Wed Feb 1 11:20:17 CET 2012
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Feb 1 12:17:56 2012 +0200| [452cf1c4060c4917e546cae816918e0219e5dd31] | committer: Ilkka Ollakka
transcode: user ENC_FRAMERATE_BASE instead of fixed value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=452cf1c4060c4917e546cae816918e0219e5dd31
---
modules/stream_out/transcode/video.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 15c4ef4..2475cd0 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -813,7 +813,7 @@ bool transcode_video_add( sout_stream_t *p_stream, es_format_t *p_fmt,
if( p_sys->f_fps > 0 )
{
- id->p_encoder->fmt_out.video.i_frame_rate = (p_sys->f_fps * 1000) + 0.5;
+ id->p_encoder->fmt_out.video.i_frame_rate = (p_sys->f_fps * ENC_FRAMERATE_BASE) + 0.5;
id->p_encoder->fmt_out.video.i_frame_rate_base = ENC_FRAMERATE_BASE;
}
More information about the vlc-commits
mailing list