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

Andrew Savchenko Bircoph at list.ru
Sat Oct 14 20:58:42 CEST 2006


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.c-endpos.patch
Type: text/x-diff
Size: 845 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061014/b20c893d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061014/b20c893d/attachment.pgp>


More information about the MPlayer-dev-eng mailing list