[MPlayer-dev-eng] [PATCH] some vo cleanups

Attila Kinali kinali at gmx.net
Thu May 2 21:49:22 CEST 2002


Hi,

This is 90% a cosmetical patch, it replaces a lot of the magic numbers
by their defines and also changes the "fullscreen" parameter of config to
flags (as it's used for passing flags and not only fullscreen anymore).
I didnt touch vo_odivx.c as it's obsolete and should be removed IMHO

The only functional change is in vo_3dfx.c:
---schnipp---
-       is_fullscreen = fullscreen = 0;
+       is_fullscreen = flags & VOFLAG_FULLSCREEN;
---schnapp---
as the current line doesnt make sense at all.

The second patch is just to make sure noone uses the magic numbers again :)

There are some places where VFCAP_CSP_SUPPORTED_BY_HW is defined for it's
own, shouldnt there also be a VFCAP_CSP_SUPPORTED ?


		Attila Kinali

-- 
Israel, where the first genocide of this century takes place.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koth-vo_cleanup-20020502.diff.gz
Type: application/octet-stream
Size: 5480 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020502/4f49be66/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: koth-libvo.txt-20020502.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020502/4f49be66/attachment.txt>


More information about the MPlayer-dev-eng mailing list