]> git.sesse.net Git - vlc/blobdiff - modules/packetizer/h264.c
XCB/window: string rationalization
[vlc] / modules / packetizer / h264.c
index 0b8de454ebcd6c1c2dae4b4d20023b26f5591d99..8675bf033a381244e4a937366d9ab1bb26b60b55 100644 (file)
@@ -916,6 +916,7 @@ static void PutSPS( decoder_t *p_dec, block_t *p_frag )
 
     /* b_frame_mbs_only */
     p_sys->b_frame_mbs_only = bs_read( &s, 1 );
+    p_dec->fmt_out.video.i_height *=  ( 2 - p_sys->b_frame_mbs_only );
     if( p_sys->b_frame_mbs_only == 0 )
     {
         bs_skip( &s, 1 );