[MPlayer-dev-eng] [PATCH] Bugfix for ignored endpos while using -vc null in mplayer.c

Paul TT paultt at hackerjournal.it
Mon Oct 16 15:50:44 CEST 2006


On Sat, 14 Oct 2006 22:58:42 +0400
Andrew Savchenko <Bircoph at list.ru> wrote:

> Hi!
> 
> I've fix the bug, reported earlier as "Bug: -endpos don't work
> together  with -vc null in mplayer" in users mail list.
> 
> Endpos condition was checked only if (blit_frame != 0) but in the case
> 
> of -vc null blit_frame is equal to zero and endpos check was not 
> performed. Attached patch trivially fix this error by moving endpos 
> check before blit_frame condition check. This allows to stop playback 
> correctly regardless to the value of blit_frame.

to me it seems ok :-)
if no one will complain, and i won't find any problem using it this
way, i'll apply before the end of the week :-)
thanx



More information about the MPlayer-dev-eng mailing list