Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge svn changes up to r28549 | Uoti Urpala | 2009-02-13 | 1 | -0/+2 |
| | |||||
* | Move movie_aspect to options struct | Uoti Urpala | 2008-04-25 | 1 | -0/+1 |
| | |||||
* | Move vidmode to options struct | Uoti Urpala | 2008-04-25 | 1 | -0/+1 |
| | |||||
* | Move vo_screenwidth,vo_screenheight to options struct | Uoti Urpala | 2008-04-23 | 1 | -0/+2 |
| | |||||
* | Move vo_dbpp to options struct | Uoti Urpala | 2008-04-23 | 1 | -1/+1 |
| | |||||
* | Move vo_dx,vo_dy,vo_dwidth,vo_dheight to vo struct | Uoti Urpala | 2008-04-23 | 1 | -0/+4 |
| | |||||
* | Move global vo_config_count to vo struct | Uoti Urpala | 2008-04-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | Remove the global and Add a corresponding field to the vo struct, plus another which tells whether the LAST config call was successful.The latter value which tells whether the VO should be properly configured at the moment seems a better match for the semantics actually needed in most places where the old value was used. The 'count' field with the old semantics is not currently used by anything, but I'm leaving it there for vo drivers which would need those semantics if converted to use the struct. Existing uses of the global outside old vo drivers are either converted to use the struct field or moved inside the vo_xyz() calls (instead of "if (vo_config_count) vo_flip_page(..." just call vo_flip_page which will now do nothing if not configured). The removal of the check in mpcommon.c/update_subtitles() is less trivial than the others, but I think it shouldn't cause problems. | ||||
* | Move vo_ontop to options struct | Uoti Urpala | 2008-04-23 | 1 | -0/+13 |
Add a 'struct vo *vo' argument to the x11_common.c functions that access the variable so it's available as vo->opts->vo_ontop. To keep VOs using the old API working create a global vo variable that is set to the currently used old vo. "vo_ontop" will be #defined to "global_vo->opts->vo_ontop", and x11_common.h will add defines like the following when it is included by old VOs: #define vo_x11_ontop() vo_x11_ontop(global_vo) so that they will call the function according to the new declaration. |