Commit Graph

18 Commits

Author SHA1 Message Date
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Sebastian Dransfeld ba74181c5c make clang happy
SVN revision: 45196
2010-01-15 20:50:48 +00:00
Vincent Torri 2a1b159536 * enable static build of modules
* clean up autotools
 * remove some warnings

issues:
 * vlc backend can not be built on my computer(API change
   in libvlc, it seems)
  * when i build xine *and* gstreamer as static, i get a
    multiple defined of __eina_module_init and __eina_module_shutdown


SVN revision: 44884
2010-01-04 18:45:40 +00:00
Carsten Haitzler 297858d10c calloc not malloc! bad patches!
SVN revision: 38318
2008-12-25 08:35:51 +00:00
Sebastian Dransfeld 65e204a52e xine_xmalloc is deprecated and gives no benefit for us.
SVN revision: 37218
2008-10-27 09:50:00 +00:00
doursse c014ed5267 put xine and gstreamer modules in their own subdir
SVN revision: 34539
2008-05-11 18:52:29 +00:00
Carsten Haitzler 830e68d0ff move plugin to be inlined ans loaded from code and make xine emotion support
work again


SVN revision: 19946
2006-01-21 14:13:51 +00:00
Mike Frysinger aa94c430d3 xine-lib-1.1.1 change member names in the vo_overlay_t struct
SVN revision: 18673
2005-11-28 07:01:43 +00:00
sebastid 1f0a680d7f Add return values.
Formatting.
Right macro.


SVN revision: 16438
2005-08-30 23:40:34 +00:00
moom16 ee5135f71f * Have rewritten the yuy2->rgb converter to avoid license problems.
So now, emotion_xine supports yuy2-encoded movies (such as .wmv).


SVN revision: 15678
2005-07-08 23:08:48 +00:00
moom16 8e204f7f56 * Cancel last changes since it seems there are some license problems.
Sorry guys, I didn't think GPLv2 was so "contaminating"


SVN revision: 15677
2005-07-08 20:28:50 +00:00
moom16 8e4e372d87 * Add support of yuy2 to emotion_xine module. So now, we can play wmv
movies!

I had to make some module API changes:
 - rename yuv_size_get to video_data_size_get
 - add the function "Emotion_Format (*format_get) (void *ef);" in Emotion_Video_Module. This function should return the format used by the video (EMOTION_YV12, EMOTION_YUY2 or EMOTION_BGRA).

I use a yuy2->bgra converter since evas doesn't support YUY2. This converter should be rewrite since it's really not optimized and since it is under GPLv2 (emotion is under BSD). I added an explicit comment above the function for that, but it'd be better to use a converter under BSD.
If it's really incompatible with emotion license, I will remove it.


SVN revision: 15675
2005-07-08 19:56:48 +00:00
Carsten Haitzler 14ef35f5ca ansi damn u!
SVN revision: 14098
2005-04-05 02:21:06 +00:00
Carsten Haitzler 0ba866f5cf segv waiting to happen
SVN revision: 13923
2005-03-26 15:49:17 +00:00
Carsten Haitzler 5f7a8371ab up to latest xine api! :)
SVN revision: 12923
2005-01-12 11:35:04 +00:00
Carsten Haitzler 8798313dcc eject works.. xine bug.. if video is paused (*or int he process of being
paused) when we try shut down the stream - POOF - xine hangs


SVN revision: 10914
2004-07-19 05:44:54 +00:00
Carsten Haitzler 755168f03b grr - i'm trying to debug why xine locks up on closing/stopping/deleting a
stream in elation but NOt in emotion when emotion_test shuts down.

ok emotion_test:

emotion_test dvd://

now once its played a bit of the dvd hit:

q

and it will quit
destroy video objects then exit main loop and exit.

now with elation:

elation

now put a dvd in the drive (or already have one) elation will detect this.
now let it play a bit of the dvd, and hit "Escape" to eject the dvd (which
will try delete thevideo object). elatiojn will get STUCK inside an emotion
call whihc get stuckin the emotion_xine module call thsat gets stuck inside
xine_stop().

now WHY. what is it about elation that triggers xine to go batty?


SVN revision: 10910
2004-07-19 04:50:14 +00:00
Carsten Haitzler 7f3528ec27 it had to happen sooner or later... in in in... we go! :)
SVN revision: 10537
2004-06-18 15:38:03 +00:00