[vlc-commits] commit: AVFormat Demuxer : Set video ES frame rate.	(Jai Menon )
    git at videolan.org 
    git at videolan.org
       
    Thu Jun 24 12:20:23 CEST 2010
    
    
  
vlc | branch: master | Jai Menon <jmenon86 at gmail.com> | Sun Jun 20 22:26:22 2010 +0530| [1afc9d6656e7e6a931d80f60efa1efdfd76dd7ff] | committer: Jean-Baptiste Kempf 
AVFormat Demuxer : Set video ES frame rate.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1afc9d6656e7e6a931d80f60efa1efdfd76dd7ff
---
 modules/demux/avformat/demux.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 3b5454b..98d857c 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -281,6 +281,8 @@ int OpenDemux( vlc_object_t *p_this )
                 *fmt.video.p_palette = *(video_palette_t *)cc->palctrl;
             }
             psz_type = "video";
+            fmt.video.i_frame_rate = cc->time_base.den;
+            fmt.video.i_frame_rate_base = cc->time_base.num;
             break;
 
         case CODEC_TYPE_SUBTITLE:
    
    
More information about the vlc-commits
mailing list