[Ffmpeg-devel] Mpeg2-ts encoder uses fixed PES payload size

Aurelien Jacobs aurel
Mon Mar 5 15:06:25 CET 2007


On Mon, 5 Mar 2007 00:41:13 +0100
Diego Biurrun <diego at biurrun.de> wrote:

> On Sun, Mar 04, 2007 at 02:29:55AM +0100, Aurelien Jacobs wrote:
> > On Sat, 03 Mar 2007 19:06:39 +0100
> > Luca Abeni <lucabe72 at email.it> wrote:
> > 
> > > --- libavformat/allformats.c	(revision 8205)
> > > +++ libavformat/allformats.c	(working copy)
> > > @@ -103,6 +103,7 @@
> > >      REGISTER_DEMUXER (MPEGPS, mpegps);
> > > +    REGISTER_MUXER   (MPEGTS, dvb);
> > 
> > This looks wrong. Both parameters of REGISTER_MUXER should be
> > exactly the same, one uppercase and one lowercase.
> 
> .. which is an indication that REGISTER_MUXER should likely be
> simplified to require just one parameter ..

Indeed that would be better ! I've tried to when writting this
macro, but without success. It seems it's not possible to
convert a string to lower or upper case using the C pre processor.
Feel free to propose a solution to this !

Aurel




More information about the ffmpeg-devel mailing list