]> git.sesse.net Git - vlc/commitdiff
* modules/packetizer/mpegvideo.c: set fmt_out.video.i_frame_rate.
authorGildas Bazin <gbazin@videolan.org>
Sun, 26 Sep 2004 19:59:49 +0000 (19:59 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 26 Sep 2004 19:59:49 +0000 (19:59 +0000)
modules/packetizer/mpegvideo.c

index bc9c34e15824d16f32a44363c1cb61eff17a5867..1ceecd5876ef0e6c3e89a40dec623ca736dda199 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Eric Petit <titer@videolan.org>
- *          Gildas Bazin <gbazin@netcourrier.com>
+ *          Gildas Bazin <gbazin@videolan.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -503,6 +503,9 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
         p_sys->i_frame_rate_base =
             code_to_frame_rate[p_frag->p_buffer[7]&0x0f][1];
 
+        p_dec->fmt_out.video.i_frame_rate = p_sys->i_frame_rate;
+        p_dec->fmt_out.video.i_frame_rate_base = p_sys->i_frame_rate_base;
+
         p_sys->b_seq_progressive = VLC_TRUE;
         p_sys->b_low_delay = VLC_TRUE;