[Ffmpeg-devel] [PATCH] get rid of pgmyuv compat hack

Michael Niedermayer michaelni
Sun Nov 5 22:08:05 CET 2006


Hi

On Sun, Nov 05, 2006 at 08:33:31PM +0100, Baptiste Coudurier wrote:
> Michael Niedermayer wrote:
> > Hi
> > 
> > On Sat, Nov 04, 2006 at 09:40:09PM +0100, Baptiste Coudurier wrote:
> >> Hi
> >>
> >> $subject
> >>
> >> that also updates regression tests for mpeg4-PSP test which were wrong
> >> since it was not using -f pgmyuv.
> > 
> > it breaks existing scripts
> >
> > there mere 10 lines of code less dont seem to justify that
> > 
> 
> Which ones ? Regression scripts are updated.

the ones end users wrote ...


> 
> Removing hacks is always good, and IMHO it justifies it. We already
> broke scripts when AVImageFormat was removed. Let's finish the work.

make useage of that hack print a warning which says its deprecated and
explains what else the user should rather do 

and AVImageFormat was a lot of unneeded code, this here are just 10 lines
imagine ls, rm or some other standard tool to drop "historic" command line
options because they need 10 lines of code

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list