[vlc-devel] [PATCH] Support of Mxpeg codec

Jean-Baptiste Kempf jb at videolan.org
Tue Feb 7 10:21:09 CET 2012


On Tue, Feb 07, 2012 at 10:17:24AM +0100, Sébastien Escudier wrote :
> On Mon, 2012-02-06 at 16:08 +0100, Antoine Cellerier wrote:
> > it seems possible but it requires parsing jpeg headers and peeking
> > quite
> > far in the file if I understand correctly. 
> 
> And what if we detect Mxpeg in the image demuxer ?
> If we disacard this demuxer, then mjpeg demux will be selected.
> Does it mean we must look for mxpeg in image AND mjpeg demuxer, and
> discard them both ?

Yes. It means that the right way is to get sure that image and mjpeg
demuxers don't say VLC_SUCCESS when Open()ing MxPeg files.
If it is really too hard, then, do the src/ hack.

Best 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