Age | Commit message (Collapse) | Author |
|
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
|
|
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.
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
rewritten, and various fixes and changes have been made to the supporting code.
It's still not perfect, but it at least works now.
|
|
CVS patchset: 8009
CVS date: 2006/06/02 22:18:56
|
|
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
|
|
CVS patchset: 7745
CVS date: 2005/09/25 00:44:04
|
|
"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
|
|
CVS patchset: 7166
CVS date: 2004/11/26 06:09:51
|
|
capabilities ...
CVS patchset: 7115
CVS date: 2004/11/12 06:38:36
|
|
be optimised.
CVS patchset: 7052
CVS date: 2004/10/20 04:58:13
|
|
* 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
|
|
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
|
|
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
|
|
than xine's thread, to avoid threading problems.
CVS patchset: 6701
CVS date: 2004/06/19 04:11:53
|
|
* 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
|
|
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
|
|
(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
|
|
Mac OSX video out support.
patch to configure.ac to follow
CVS patchset: 6642
CVS date: 2004/06/05 16:06:12
|