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: 3968
CVS date: 2003/01/19 17:19:36
|
|
CVS patchset: 3623
CVS date: 2002/12/22 00:35:04
|
|
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: 3318
CVS date: 2002/11/20 14:20:39
|
|
CVS patchset: 3078
CVS date: 2002/10/29 00:36:21
|
|
blend_rgb16 changes. <- Need testing further.
CVS patchset: 2773
CVS date: 2002/10/03 06:04:54
|
|
The fixes involved getting blend_rgb16 to correctly handle different colours in the
highlight area and general overlay area.
Another fix involved fixing the overlay scaling function so that it scales in the same
proportion as the yuv2rgb code.
Currently, blend_yuv has not been updated.
blend_rgb16 has been improved.
blend_rgb24 and blend_rgb32 have not been changed and will probably not work now.
The performance improvements are due to two things: -
1) Special detection of overlays without any buttons/clip areas.
This is detected by ensuring overl->clip_top = -1 when no button is present.
2) Reorganise the blending code so that for each time round the loop, the fewest
possible IF statements are executed.
So, for overlays without any buttons, not checks for the clip area is done.
For overlay with buttons, state is kept as to whether we are above, to the left, inside
or to the right or below the clip area, thus saving having to do IF statements each time
round the loop to find out where we are.
CVS patchset: 2762
CVS date: 2002/09/30 05:16:45
|
|
broken now ... matthias/miguel: please fix it :-)
CVS patchset: 2606
CVS date: 2002/09/04 23:31:05
|
|
and buffer overflows (might fix some recently reported segfaults)
CVS patchset: 1932
CVS date: 2002/05/23 23:35:53
|
|
- pts are 64 bit now
- scr and video_out-loop run all the time
- video_out cleanups
- metronom cleanups
- buffer type BUF_CONTROL_DISCONTINUITY is used internally now,
input plugins should no longer send this one
- support for individual frame durations
- using nano-/usleep instead of itimer (simpler code, maybe this will
help freebsd)
CVS patchset: 1487
CVS date: 2002/02/09 07:13:22
|
|
CVS patchset: 1438
CVS date: 2002/01/22 02:13:55
|
|
- remove (hopefully) unneeded memcpy
- fix SDL capabilities
- add fb and SDL warnings
CVS patchset: 1436
CVS date: 2002/01/22 01:43:13
|
|
CVS patchset: 1423
CVS date: 2002/01/18 13:50:35
|
|
CVS patchset: 1422
CVS date: 2002/01/18 02:32:31
|
|
This should fix menus on DVDs like
Stargate, latest edition, R2
Big trouble in little China (bonus disk)
Still need to modify blend_yuy2, and all rgb blends.
CVS patchset: 1415
CVS date: 2002/01/16 00:54:34
|
|
XV colours look good, XShm colours do not.
CVS patchset: 1411
CVS date: 2002/01/15 20:22:43
|
|
- removed blend_yuv_vo_frame
CVS patchset: 1254
CVS date: 2001/12/16 17:01:12
|
|
CVS patchset: 1141
CVS date: 2001/11/30 12:31:58
|
|
the naming conventions within the plugin.
CVS patchset: 962
CVS date: 2001/11/05 23:15:13
|
|
finally added overlay blending support. Also cleaned up the alphablend
header file and added new blend_yuv function that uses the vo_frame_t struct
for its blending.
CVS patchset: 934
CVS date: 2001/11/03 13:57:34
|
|
CVS patchset: 783
CVS date: 2001/10/09 22:20:11
|
|
CVS patchset: 780
CVS date: 2001/10/09 18:47:57
|
|
This fixes the position and size for button hilights using the dvdnav plugin
and position and size of subtitles.
CVS patchset: 773
CVS date: 2001/10/09 09:50:22
|
|
for subpicture overlays.
CVS patchset: 444
CVS date: 2001/08/17 15:54:31
|
|
of the clut from the input plugin.
CVS patchset: 434
CVS date: 2001/08/16 12:33:00
|
|
are counted without the right and bottom border.
CVS patchset: 429
CVS date: 2001/08/14 17:13:33
|
|
CVS patchset: 416
CVS date: 2001/08/13 12:52:33
|
|
CVS patchset: 349
CVS date: 2001/07/26 00:18:45
|
|
temporarily
CVS patchset: 348
CVS date: 2001/07/25 23:26:14
|
|
CVS patchset: 263
CVS date: 2001/07/10 19:33:05
|
|
CVS patchset: 261
CVS date: 2001/07/09 16:13:11
|
|
CVS patchset: 259
CVS date: 2001/07/08 18:15:54
|
|
CVS patchset: 254
CVS date: 2001/07/04 20:32:29
|
|
CVS patchset: 250
CVS date: 2001/07/04 17:10:24
|