[MPlayer-dev-eng] [PATCH] Audio support for AVISynth

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jul 28 19:46:40 CEST 2006


Hello,
On Tue, Jul 25, 2006 at 08:01:23PM +0400, Alexander 'Lazy Ranma' Ponyatikh wrote:
> > You only added a few spaces here, please, if you move it to a seperate
> > patch everyone will have a much easier time to understand what this
> > patch actually does, what it changes and why it didn't work before (or
> > in other words, learn from it).
> 
> No, this block of code has been moved into new if statement.

I.e. it mixed cosmetics and "real" changes.
DOCS/tech/patches.txt explains our policy regarding patches.

> >> +        AVS->frameno++;
> >> +        AVS->avs_release_video_frame(curr_frame);
> 
> > Why were these two lines moved up? Is this necessary for the audio
> > support to work or is this a seperate issue or just "cosmetic"?
> 
> It is necessary. They have been moved inside "if
> (avs_has_video(AVS->video_info) && (ds == demuxer->video))" statement.

Ok, not cosmetic. Though it doesn't seem directly related to audio
support. Anyway, I applied that part with cosmetics and real changes
split properly (well, the sh_video variable still needs to be moved in a
later patch).

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list