summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_macosx.m
AgeCommit message (Collapse)Author
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2008-04-08Fix YUY2 Video Output on Mac OS X XineOpenGLViewMatthias Ringwald
For YUY2, twice the amount of data was copied into texture_buffer leading to a segfault. The crash happened with visualizers such as GOOM and oscope but not for normal video.
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-04-03Overhaul the Mac OS X video output plugin. XineOpenGLView is almost completelyMatt Messier
rewritten, and various fixes and changes have been made to the supporting code. It's still not perfect, but it at least works now.
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2005-11-14*BUGFIX*František Dvořák
Testsuite for M$ Windows: - init mutex in all video drivers ('none' for testsuite, fixes crashes), was OK for linux pthreads - use WaitForSingleObject for console file descriptirs in _x_io_select (fixes stdin:/) - workaround heavy debug messages in asf demuxer for some samples (fixes full disk :->) Fixed previous fix, s/gmtime/timgm/ :-) Aalib cross detection + udate docs CVS patchset: 7799 CVS date: 2005/11/14 12:34:45
2005-09-25move alphablend to coreMiguel Freitas
CVS patchset: 7745 CVS date: 2005/09/25 00:44:04
2005-09-24- rename all clip_top, clip_left, clip_color... to hili_xxxx. thatMiguel Freitas
"clip" thing has caused too much confusion already since these variables define a highlight area. - add overlay offset support to video_out.c/alphablend/vo drivers - use overlay offset to implement proper croping of frames when vo driver doesn't support it - add clipping checks to alphablend to avoid buffer overflow, buffer "underflow" and wrapping. - increase vo api number - note: dxr3 support is incomplete about overlay offset CVS patchset: 7739 CVS date: 2005/09/24 19:08:26
2004-11-26Update Mac OS X video output to use new alphablend APIAndre Pang
CVS patchset: 7166 CVS date: 2004/11/26 06:09:51
2004-11-12If a video driver supports overlays, it should probably say so in its ↵Andre Pang
capabilities ... CVS patchset: 7115 CVS date: 2004/11/12 06:38:36
2004-10-20Initial overlay support for Mac OS X video output driver. Probably needs to ↵Andre Pang
be optimised. CVS patchset: 7052 CVS date: 2004/10/20 04:58:13
2004-10-13Mac OS X video_out driver:Andre Pang
* Reordered #includes to stop compiler warnings * Added logging * Bumped up API version number from 19 to 20, so it works again :-) CVS patchset: 7031 CVS date: 2004/10/13 15:19:20
2004-07-05Mac OS X:Andre Pang
Added keepsVideoAspectRatio and resizeViewToVideoSizeOnLoad attributes to XineOpenGLView class More accurate OpenGL mutex locking (we need to serialise any accesses to the OpenGL context): this fixed a few more kernel panics for me Changed any human-readable strings of "MacOSX" to "Mac OS X" (so maybe Apple can award xine a Design Award next year with less qualms ;) CVS patchset: 6770 CVS date: 2004/07/05 01:20:01
2004-06-19Mac OS X video output driver:Andre Pang
XineVideoWindow now properly keeps aspect ratio if requested Moved set{Half,Normal,Double}Size methods from XineVideoWindow to XineOpenGLView, since they more logically belong there Changed setVideoSize in XineOpenGLView to only set the video size (and not the view size) Added setViewSize method to XineOpenGLView, to change the view size Internal refactorings: Removed width/height fields from XineVideoWindow: they were unnecessary, since the width and height could be obtained via [self frame] Renamed width/height fields to video_width/video_height in XineOpenGLView, to reflect that they represent the height of the actual video, rather than the view's size (which can always be obtained with [self frame] or [self bounds]) Added videoSize method to XineOpenGLView to get the actual video size Changed isFullScreen, keepsAspectRatio, and initDone fields in XineOpenGLView to BOOL rather than int Apologies for the numerous changes in this one patch which may have been better as a number of smaller, different patches. Much of the original intent of the patch -- to fix the bugs that occured with aspect ratios -- dictated the refactorings which took place. On the bright side, this patch 100% regression-tested! CVS patchset: 6706 CVS date: 2004/06/19 15:25:01
2004-06-19Run Mac OS X video driver's setVideoSize method in the main (UI) thread, ratherAndre Pang
than xine's thread, to avoid threading problems. CVS patchset: 6701 CVS date: 2004/06/19 04:11:53
2004-06-18* applied patch from Andre Pang to use GLView directlyDaniel Mack
* some coding style issues * malloc() only width * height * 2 bytes of data for texture buffers (sorry for the broken comment in the last commit) CVS patchset: 6696 CVS date: 2004/06/18 14:24:14
2004-06-12- Makefile.am: removed unneeded build options and added options fromDaniel Mack
Andre Pang to make libtool >=1.5 work - video_out_macosx.m: removed useless code CVS patchset: 6676 CVS date: 2004/06/12 19:48:34
2004-06-08a better approach to the module unload preventionMichael Roitzsch
(when this works in OSX, we can remove the PLUGIN_NO_UNLOAD flag from video_out_macosx.m, but the support for this in the plugin loader seems to be a good idea anyway) CVS patchset: 6661 CVS date: 2004/06/08 20:44:27
2004-06-05From: Daniel MackJames Courtier-Dutton
Mac OSX video out support. patch to configure.ac to follow CVS patchset: 6642 CVS date: 2004/06/05 16:06:12