]> git.sesse.net Git - vlc/commitdiff
Set frame rate (locked to 25fps for now).
authorSteinar Gunderson <sgunderson@bigfoot.com>
Fri, 24 Sep 2010 00:16:25 +0000 (02:16 +0200)
committerSteinar Gunderson <sgunderson@bigfoot.com>
Fri, 24 Sep 2010 00:16:25 +0000 (02:16 +0200)
modules/access/sdi.cpp

index f5b5af624d801cabe33da3984830e99e077d76bf..b326e7ee8fefd9fab6392aa46815ad0dc67719b5 100644 (file)
@@ -190,6 +190,8 @@ static int Open( vlc_object_t *p_this )
     fmt.video.i_height = 576;
     fmt.video.i_sar_num = 16 * fmt.video.i_height;
     fmt.video.i_sar_den = 9 * fmt.video.i_width;
+    fmt.video.i_frame_rate = 25;
+    fmt.video.i_frame_rate_base = 1;
 
     msg_Dbg( p_demux, "added new video es %4.4s %dx%d",
              (char*)&fmt.i_codec, fmt.video.i_width, fmt.video.i_height );