[vlc-devel] commit: Respect jpeg format setting as scene snapshot and respect size setting when both width and height are set . (Jean-Paul Saman )

Antoine Cellerier dionoea at videolan.org
Wed Sep 24 21:02:32 CEST 2008


On Wed, Sep 24, 2008, git version control wrote:
> +    if( !strncmp( p_sys->psz_format, "png", 3 ) )
> +        fmt_out.i_chroma = VLC_FOURCC('p','n','g',' ');
> +    else
> +        fmt_out.i_chroma = VLC_FOURCC('j','p','e','g');

Why not print an error and quit if the user provided fourcc is wrong?

-- 
Antoine Cellerier
dionoea



More information about the vlc-devel mailing list