[MPlayer-dev-eng] [PATCH] [TEST FUNC] Multi-channel reorder function
Ulion
ulion2002 at gmail.com
Thu Nov 29 03:12:10 CET 2007
2007/11/29, Corey Hickey <bugfood-ml at fatooh.org>:
> Ulion wrote:
> > Cleaned up. How about current version?
>
> Closer, but some of the indentation didn't quite match up. The attached
> version should be more consistent; check and much sure I didn't mess it up.
>
> One thing in particular--when you want something indented like this:
>
> reorder_channel_copy(src, AF_CHANNEL_LAYOUT_MPLAYER_5CH_DEFAULT,
> dest, AF_CHANNEL_LAYOUT_WAVEEX_5CH_DEFAULT,
> max_size / 2, 2);
>
> <---tab to here, and then spaces
>
> ...you can't use additional tabs to make src, dest, and max align
> vertically, since a tab is not a fixed number of spaces; people
> configure their editors differently. Use one or more tabs to align with
> the left end of reorder_channel_copy, and then spaces to indent further.
> Hopefully your mail reader doesn't mangle my example... :)
I know what you mean, but I thought should not mix tab and space is
some coding rule. If such it's acceptable, I should change to the
style you suggested.
>
>
> Anyway, with all that done, I'm through with nitpicking. I think you
> should threaten to apply my re-indented version of your patch. Give an
> ultimatum of a few days, and make sure Reimar has a chance to respond if
> he wants, since he had an opinion on channel reordering long ago. If
> everybody ignores you, apply.
I'd like to, but, before and after I post this patch, I ever discussed
with Reimar and other developers with it on irc, all current patches
for channel order fix were considered as hacks, for hacks, they does
not care performance so much. I don't known whether the opinion
changed now, so I have to ask Reimar about this, which one of our
patches could be acceptable to commit or after some additional
adoptions, Reimar?
--
Ulion
More information about the MPlayer-dev-eng
mailing list