[FFmpeg-devel] [PATCH] better reporting of programs

Michael Niedermayer michaelni
Tue Oct 16 23:27:36 CEST 2007


On Tue, Oct 16, 2007 at 10:58:19PM +0200, Nico Sabbi wrote:
[...]
> @@ -2587,6 +2611,12 @@
>          print_error(filename, err);
>          exit(1);
>      }
> +    if(opt_programid) {
> +       int i;
> +       for(i=0; i<ic->nb_programs; i++)
> +           if(ic->programs[i]->id != opt_programid)
> +               ic->programs[i]->discard = AVDISCARD_ALL;
> +    }

hmm "all or one" this is a little bit limited

-foobar "5,7,11"
seems somewhat better

note, this would need very similar functionality added to opt.c/h as reimars
extradata on the command line idea

and yes iam fine with the 1 progtram soluion until opt.c/h has been changed
to support arrays/lists

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071016/efb9f813/attachment.pgp>



More information about the ffmpeg-devel mailing list