Commit Graph

230 Commits

Author SHA1 Message Date
Christopher Michael bbec1ed7dd Fix recent emotion_gstreamer breakage...someone forgot to update the
function proto & change the module.init call :)


SVN revision: 28692
2007-03-13 11:43:21 +00:00
Carsten Haitzler 2dbc5651d4 move emotion to fix latency on video load, deadlocks on stop/shutdown etc.
SVN revision: 28679
2007-03-13 02:30:14 +00:00
Carsten Haitzler 2026b988bc there is a deadlock between the video out deocder thread and the main process
(emotion) thread as it continues while the main thread is stopped tyring to
stop the video playback - this ends up in a deadlock. this tries to eliminate
that by havng a much more limited framequeue.


SVN revision: 27753
2007-01-03 06:24:25 +00:00
Carsten Haitzler eb21b3503c use the new colorspace support in evas... :)
SVN revision: 27519
2006-12-19 14:15:17 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
sebastid 3641dd1751 EAPI
SVN revision: 25522
2006-09-06 07:17:49 +00:00
doursse 45e3d90729 Fix a freeze when a file is not valid. Add support for DVD (but i works randomly...)
SVN revision: 24034
2006-07-18 19:04:38 +00:00
doursse efd30e948f put the build of the pipelines apart
SVN revision: 23988
2006-07-17 17:11:04 +00:00
doursse 4cea5ab39a use goom and not goom2k4 as default visualization
SVN revision: 23586
2006-06-25 16:52:51 +00:00
doursse 726d47342f volume is between 0 and 1, not 0 and 100
SVN revision: 22817
2006-05-21 18:24:24 +00:00
doursse 2763193cd1 fix audio mute
SVN revision: 22801
2006-05-21 11:13:05 +00:00
doursse 4f02bd7958 fix warnings
SVN revision: 22794
2006-05-21 10:26:09 +00:00
doursse 20b5a8357c fix volume for the gstreamer plugin
SVN revision: 22793
2006-05-21 10:23:15 +00:00
doursse 8357c789a4 add track count in the metadata and fix a bit the _close function. It needs more cara, though
SVN revision: 22618
2006-05-14 14:32:45 +00:00
doursse 8958bf1458 add track count in the metadata
SVN revision: 22617
2006-05-14 14:32:02 +00:00
doursse 41d7b8c78e some cleaning when a file can not be read. Add a function to get the tracks count of a CD
SVN revision: 22473
2006-05-06 13:17:50 +00:00
doursse 1d905fc19b EOS signal. Easier than expected :)
SVN revision: 22293
2006-04-22 10:12:03 +00:00
doursse aa5cf3a34d LOTS of checks added. Fix the seek a bit (gstreamer plugins have problems with seek, btw). It's now possible to mute the video, but it's not the correct fix. Metadata can be grabbed. Beginning of the code for the eos (the way it is done is too close to glib to be done easily)
SVN revision: 22269
2006-04-20 18:23:48 +00:00
doursse 0dae2645a1 fix seeking
SVN revision: 22033
2006-04-11 23:31:03 +00:00
doursse d35d70e863 use autoaudiosink instead of alsasink (for platform != linux). Lots of checks are missing, btw. I need to fix that.
SVN revision: 22021
2006-04-11 12:35:23 +00:00
doursse 0b7568fd83 segfault when cdiocddasrc element is missing fixed. We need it for cd audio.
SVN revision: 21737
2006-04-02 14:36:54 +00:00
doursse 9390e25218 support of cd audio. If n is track you want to play, use as filename : cdda://n. If you want to choose a specific device from your player : cdda:///my/device#n or cdda:///my/device?n. Default device is /dev/cdrom. Also, support of file:///my/file as filename. Thanks to captainigloo
SVN revision: 21736
2006-04-02 13:53:06 +00:00
doursse 10618e769a visualization stuff for emotion_gstreamer. There's a gstreamer bug on the duration of mp3 files (). ogg files are handles correctly
SVN revision: 21217
2006-03-12 09:56:13 +00:00
doursse 67d2c74132 fixes...
SVN revision: 20310
2006-02-06 13:38:08 +00:00
doursse 7ecab55f5b gstreamer 0.10 port. There's a problem with the seek, no evas sink yet
SVN revision: 20273
2006-02-04 13:43:13 +00:00
Carsten Haitzler bef77eed98 link to pthread
SVN revision: 20159
2006-02-01 06:21:52 +00:00
Carsten Haitzler cc8c268dcd less segv's
SVN revision: 19977
2006-01-23 03:00:35 +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 ce987876a8 Don't use strlen to check for empty string.
SVN revision: 18271
2005-11-04 08:21:28 +00:00
Mike Frysinger 901ef16a1f if ecore lacks both X and FB support, disable the test
SVN revision: 17696
2005-10-20 05:05:52 +00:00
Carsten Haitzler ddae80eeaa suprot testign xr engine
SVN revision: 17134
2005-10-03 13:53:18 +00:00
doursse a5eb691aef remove printf
SVN revision: 17109
2005-10-02 12:19:36 +00:00
doursse bad4d6e848 emotion can use gstreamer, now
SVN revision: 17103
2005-10-02 07:34:36 +00:00
sebastid d80baaa814 Use %f with doubles.
Add string.h for strcmp()
Remove unused variables.


SVN revision: 16580
2005-09-05 16:30:09 +00:00
sebastid 905adad30b Add missing headers.
SVN revision: 16553
2005-09-05 11:05:13 +00:00
sebastid 8903734b6a * Include evas CFLAGS in emotion-config since emotion headers export Evas.h
* Ecore.h isn't needed in exported header


SVN revision: 16526
2005-09-04 18:58:11 +00:00
sebastid e260c571a6 Use AC_PATH_GENERIC
SVN revision: 16492
2005-09-03 19:07:24 +00:00
Carsten Haitzler 42bf60c59a add c++ stuff
SVN revision: 16475
2005-09-03 01:38:45 +00:00
sebastid 8e0218f914 Don't include $(includedir) in searchpath, find headers in this source
and in the provided package CFLAGS.


SVN revision: 16470
2005-09-02 20:15:28 +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
doursse 08fec2cfb5 indentation
SVN revision: 15418
2005-06-18 05:29:25 +00:00
moom16 cb818ba304 * Emotion now should autodetect the best audio output driver to use
SVN revision: 15390
2005-06-17 17:20:00 +00:00
moom16 ff37c1f9a3 * Should fix the callback "playback_finished" which were sometimes not called.
Thus, the playback won't be stopped anymore sometimes at the end of the playback of a file.


SVN revision: 15236
2005-06-10 17:33:26 +00:00
moom16 87fd2401ea * Should fix the autoplay bug
SVN revision: 14622
2005-05-06 15:35:56 +00:00
Carsten Haitzler 868e54d7d2 use oss - alsa shoudl be doing oss emulation.
SVN revision: 14610
2005-05-05 08:01:52 +00:00
moom16 9eee3ff2ce * We can now initialize the module without having to play a file (we can now initialize the emotion module on the start of the application and so speed up the first play)
SVN revision: 14606
2005-05-04 21:32:37 +00:00
moom16 36a904a439 * add two functions to know if audio and video are handled (emotion_object_audio_handled_get and emotion_object_video_handled_get)
* add a smart callback "audio_level_change" to deal with audio level change
* alsa is now used by default since many people report troubles with oss


SVN revision: 14320
2005-04-24 14:42:50 +00:00
Carsten Haitzler 34c281b1e3 init once!
SVN revision: 14209
2005-04-15 07:36:10 +00:00
Carsten Haitzler 4c2a9d32f9 simon treney's emotion patches - THANKs :o)
SVN revision: 14208
2005-04-15 07:27:02 +00:00
Carsten Haitzler 14ef35f5ca ansi damn u!
SVN revision: 14098
2005-04-05 02:21:06 +00:00
Carsten Haitzler 3f48dd037d moom's patches
SVN revision: 14073
2005-04-02 15:40:35 +00:00
Carsten Haitzler 0ba866f5cf segv waiting to happen
SVN revision: 13923
2005-03-26 15:49:17 +00:00
Carsten Haitzler 4d4065169a .edj
SVN revision: 13868
2005-03-23 03:16:12 +00:00
Carsten Haitzler 5f7a8371ab up to latest xine api! :)
SVN revision: 12923
2005-01-12 11:35:04 +00:00
Carsten Haitzler 51af1ad286 LDFLAGS
SVN revision: 12126
2004-11-02 03:50:27 +00:00
xenith 3a824f120d ignores
SVN revision: 12023
2004-10-25 03:23:14 +00:00
Carsten Haitzler 6322c5843d fix engine ifdefs
SVN revision: 11709
2004-09-23 21:45:59 +00:00
Carsten Haitzler 344adc8480 conditionally...
SVN revision: 11697
2004-09-23 01:29:32 +00:00
Carsten Haitzler 5f23396980 source for .eet in.
SVN revision: 11457
2004-08-31 06:42:19 +00:00
Carsten Haitzler 8914cccc83 support fetching of meta-data
SVN revision: 10999
2004-07-24 09:53:00 +00:00
Carsten Haitzler e9e141a844 1. create new xine_t per video - xine has a single internal clock so pause 1
video - all pause as clock stops. xine issue - but this works around it.


SVN revision: 10971
2004-07-23 03:15:30 +00:00
Carsten Haitzler cf4f1ac8cb put jobs back... does this work?
SVN revision: 10959
2004-07-22 04:13:28 +00:00
Carsten Haitzler 02aa4abb9f moe robus pos reporting
SVN revision: 10953
2004-07-21 07:38:17 +00:00
Carsten Haitzler 019ae2a310 hmm - handle fstreams where xine dosnt report absolute length - just a
percentage position


SVN revision: 10951
2004-07-21 06:34:18 +00:00
Carsten Haitzler c724dd1964 oh poopie - i forgot to return 1!
SVN revision: 10931
2004-07-20 07:40:14 +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 7ed4bd13cd remove seek job... let the seek request thread do it all now
SVN revision: 10898
2004-07-18 08:25:45 +00:00
Carsten Haitzler ad7ff874ab moved dome things off into threads of their own to minimise main ap impact
SVN revision: 10897
2004-07-18 08:04:41 +00:00
Carsten Haitzler c8e7be5464 check if we need libdl...
SVN revision: 10619
2004-06-29 04:37:17 +00:00
Carsten Haitzler a75c6835db that slider on the left.. playes with alpha now...
SVN revision: 10603
2004-06-28 01:24:04 +00:00
Carsten Haitzler ccac8daa1a remove race conditions! SMELLY! this does mean more fd's though ! :(
SVN revision: 10580
2004-06-24 13:59:05 +00:00
Carsten Haitzler 2505c9ec3c support events coming from xine a lot better...
still need to support title, artist etc. for mp3's and such...


SVN revision: 10579
2004-06-24 10:55:43 +00:00
Carsten Haitzler b97f661628 autofool cleanups... argh! i hate autofools!
SVN revision: 10574
2004-06-24 06:11:36 +00:00
Carsten Haitzler a0ed8b8b4d oops - missed a check for smart data...
SVN revision: 10552
2004-06-20 03:20:31 +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