[vlc-devel] [PATCH 01/24] [mux/ogg] Enable dirac support

Laurent Aimar fenrir at via.ecp.fr
Tue Nov 4 22:59:16 CET 2008


On Tue, Nov 04, 2008, David Flynn wrote:
> Err, actually, at the top of that function there is:
>         if( !p_input->p_fmt->video.i_frame_rate ||
>             !p_input->p_fmt->video.i_frame_rate_base )
>         {
>             msg_Warn( p_mux, "Missing frame rate, assuming 25fps" );
>             p_input->p_fmt->video.i_frame_rate = 25;
>             p_input->p_fmt->video.i_frame_rate_base = 1;
>         }
Hmm, it will probably create broken files but it won't segfault.

> Is p_input->p_fmt->video.i_frame_rate_base allowed to change underneath you?
 No, there is no current way to change that information once the ES is created.

-- 
fenrir



More information about the vlc-devel mailing list