[vlc-devel] [vlc-commits] fourcc: remove last conflicting FourCC alias

Jean-Baptiste Kempf jb at videolan.org
Fri Jun 12 20:40:37 CEST 2015


On 12 Jun, Rémi Denis-Courmont wrote :
> diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
> index dcc9c57..c532066 100644
> --- a/src/misc/fourcc_list.h
> +++ b/src/misc/fourcc_list.h
> @@ -326,7 +326,6 @@ static const staticentry_t p_list_video[] = {
>          A("mjpa"),
>          A("JFIF"),
>          A("JPGL"),
> -        A("LJPG"),
>          A("MMJP"),
>          A("FLJP"),
>          A("FMJP"),
> @@ -350,9 +349,6 @@ static const staticentry_t p_list_video[] = {
>      B(VLC_CODEC_LJPG, "Lead Motion JPEG Video"),
>          E("Ljpg", "Lead Motion JPEG"),
>  
> -    // ? from avcodec/fourcc.c but makes not sense.
> -    //{ VLC_FOURCC( 'L','J','P','G' ), CODEC_ID_MJPEG,       VIDEO_ES, "Lead Motion JPEG Video" },
> -

This (or the previous) breaks LJPG playback as far as I can tell.

VLC_CODEC_LJPG is used only for encoder. For decoder, you must use
MJPEG.


With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list