Age | Commit message (Collapse) | Author |
|
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been
replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its
adding the ability to print out a stack trace at the point where the assertion fails.
So here are a few examples.
assert (0);
This use of assert was found in a couple locations most favorably being the default case of a switch
statement. This was the only thing there. So if the switch statement was unable to find a match
it would have defaulted to this and the user and the developers would be stuck wonder who died and where.
So it has been replaced with
XINE_ASSERT(0, "We have reach this point and don't have a default case");
It may seem a bit none descriptive but there is more going on behind the scene.
In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT
prints out:
<filename>:<function name>:<line number> - assertion '<assertion expression>' failed. <description>
An example of this might be:
input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory
XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h
CVS patchset: 4301
CVS date: 2003/02/28 02:51:47
|
|
CVS patchset: 3366
CVS date: 2002/11/25 16:56:06
|
|
CVS patchset: 3355
CVS date: 2002/11/24 16:18:34
|
|
size ratio and therefore the position of the image is now configurable
(I remembered my arts lessons at school where the teacher told us that images
look more pleasing when the lower border is twice the size of the upper and set
the default accordingly. ;)
CVS patchset: 3337
CVS date: 2002/11/22 18:06:09
|
|
CVS patchset: 2989
CVS date: 2002/10/24 16:43:07
|
|
CVS patchset: 2759
CVS date: 2002/09/29 01:01:58
|
|
CVS patchset: 2678
CVS date: 2002/09/17 10:32:45
|
|
CVS patchset: 2672
CVS date: 2002/09/16 13:17:49
|
|
ewald@rambo.its.tudelft.nl
CVS patchset: 2666
CVS date: 2002/09/15 11:35:08
|
|
(some values in vo_scale being 0)
CVS patchset: 2661
CVS date: 2002/09/13 19:57:13
|
|
redraw is being called too early.
CVS patchset: 2645
CVS date: 2002/09/10 14:06:33
|
|
CVS patchset: 2628
CVS date: 2002/09/08 16:52:57
|
|
api (benefit: no remapping is required between dvd's and xine's aspect
codes)
- implement new scaling semantics as intended by Matthias Hopf
CVS patchset: 2627
CVS date: 2002/09/08 16:20:09
|
|
The DVD plugin now loads, but audio and spu info is lost.
What happened to xine_get_spu_channel and xine_get_audio_channel?
CVS patchset: 2607
CVS date: 2002/09/05 05:51:14
|
|
broken now ... matthias/miguel: please fix it :-)
CVS patchset: 2606
CVS date: 2002/09/04 23:31:05
|
|
CVS patchset: 2541
CVS date: 2002/08/28 14:20:09
|
|
seemed to
work in my computer. to disable it again just change vo_scale_init parameter)
- some vidix files missing from my last update
- vo_scale must set displayed_xxx even without zoom support
CVS patchset: 2467
CVS date: 2002/08/16 22:51:39
|
|
- bugfixes
CVS patchset: 2464
CVS date: 2002/08/16 21:10:02
|
|
- new helper module (vo_scale.c) with all common scaling code of video out
drivers. it should greatly simplify drivers development by removing the
boring frame/window calculation, aspect ratio, zooming etc.
obs: not completely tested, may contain bugs and break things. also only
xshm and xv have being simplified so far, others will follow shortly.
CVS patchset: 2455
CVS date: 2002/08/15 03:12:24
|