Commit Graph

336 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
Cedric BAIL 6b0ceb9b09 * edje: fix edje external module to be consistent with the rest of the efl.
SVN revision: 51296
2010-08-18 16:57:19 +00:00
Cedric BAIL b0ddc29966 * edje: fix edje external module path.
SVN revision: 51251
2010-08-17 13:29:23 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Andreas Volz 5967027157 doxygen
SVN revision: 50486
2010-07-25 18:29:01 +00:00
Christopher Michael 13399b7362 Fix for Ecore Api changes wrt Eina_Bool.
SVN revision: 50394
2010-07-20 22:02:31 +00:00
Christopher Michael f503b5f75b Move Emotion.h to own dir.
SVN revision: 50147
2010-07-09 06:38:12 +00:00
Lucas De Marchi 4686d20b47 Fixes for Ecore Api changes
Patch automatically by Coccinelle to fix the
callbacks used by the following functions:

 * ecore_event_handler_add()
 * ecore_event_filter_add()
 * ecore_idler_add()
 * ecore_idle_enterer_add()
 * ecore_idle_enterer_before_add()
 * ecore_idle_exiter_add()
 * ecore_main_fd_handler_add()
 * ecore_main_win32_handler_add()
 * ecore_timer_add()
 * ecore_timer_loop_add()
 * ecore_animator_add()
 * ecore_poller_add()



SVN revision: 50099
2010-07-08 00:51:55 +00:00
Vincent Torri d762831a62 copy/paste error
SVN revision: 48254
2010-04-23 17:37:31 +00:00
Gustavo Sverzut Barbieri c3673ba481 make code compile if we reach the impossible :-)
SVN revision: 48209
2010-04-21 19:04:19 +00:00
Vincent Torri 83723040ad wrong default path for the emotion modules
SVN revision: 48208
2010-04-21 18:59:24 +00:00
Gustavo Sverzut Barbieri 6262a884fb Initial support for Emotion as Edje EXTERNAL.
Very crude, needs testing... but I can already play videos from inside
editje and edje_player :-D



SVN revision: 47642
2010-04-01 03:59:39 +00:00
Gustavo Sverzut Barbieri dc0eb07860 allow changing module during runtime, don't forget about file and play state.
SVN revision: 47638
2010-04-01 02:17:40 +00:00
Gustavo Sverzut Barbieri 4a9c82671e consts++
SVN revision: 47637
2010-04-01 01:33:56 +00:00
Sebastian Dransfeld d8d808d161 Make clang happy
SVN revision: 46023
2010-02-09 21:04:56 +00:00
Gustavo Lima Chaves a4348185b2 Fix emotion compilation on fedora9, by jprvita.
SVN revision: 46008
2010-02-09 12:59:29 +00:00
Sebastian Dransfeld 001757e7bf Remove uneeded header
SVN revision: 45744
2010-01-30 22:21:24 +00:00
Vincent Torri 8ec6f4e73e and disable theme too
SVN revision: 45583
2010-01-26 11:38:01 +00:00
Vincent Torri 73ec0b2b11 emotion_test can be disabled with configure, now
Gustavo: the theme is still built. Do you want me to
disable its built when emotion_test is not built ?


SVN revision: 45578
2010-01-26 09:48:47 +00:00
Cedric BAIL 44193541f7 * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Sebastian Dransfeld 57b5797291 remove Ecore_Data
SVN revision: 45225
2010-01-16 14:13:11 +00:00
Sebastian Dransfeld ba74181c5c make clang happy
SVN revision: 45196
2010-01-15 20:50:48 +00:00
Cedric BAIL 914d72e457 * emotion_test: Let ecore_evas do the work.
SVN revision: 44944
2010-01-07 10:06:32 +00:00
Cedric BAIL c2532a7691 * emotion: Use the right macro.
SVN revision: 44895
2010-01-04 21:28:24 +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
Cedric BAIL edf90cc827 * emotion: Add backend autodetection ability (you can pass NULL, and
have some good hope for a result now :-) )


SVN revision: 44784
2009-12-30 12:54:06 +00:00
Cedric BAIL 65c4336b0b * emotion: Switch to Eina module.
TODO: Add configure option to build module statically.


SVN revision: 44781
2009-12-30 10:49:06 +00:00
Cedric BAIL 1c1663bd88 * emotion_test: Fix segv due to wrong init/shutdown.
SVN revision: 44780
2009-12-30 10:48:31 +00:00
Sebastian Dransfeld f6b7273237 Remove use of deprecated event
XINE_EVENT_MRL_REFERENCE is deprecated, listen for
XINE_EVENT_MRL_REFERENCE_EXT.

SVN revision: 43540
2009-11-08 20:27:12 +00:00
Sebastian Dransfeld d650d089c4 Remove unused variable
SVN revision: 43539
2009-11-08 20:27:02 +00:00
Vincent Torri 915bcee60e set ratio after filling the video sink
Patch by João Paulo Rechi Vita


SVN revision: 43433
2009-11-03 16:10:03 +00:00
Cedric BAIL d331f73b55 * emotion: Remove Evas_Bool.
SVN revision: 41097
2009-06-18 08:01:23 +00:00
Carsten Haitzler 67db885317 gstreamer fixes
SVN revision: 40671
2009-05-15 11:48:32 +00:00
Vincent Torri 864a5ff8c2 typo reported by Lars Munch
SVN revision: 40199
2009-04-18 22:26:44 +00:00
Vincent Torri 17e4571dff Add preliminary patch for compilation on Windows. Needs more work, though
Patch by Lars Munch - Thanks a lot !



SVN revision: 40147
2009-04-17 19:40:41 +00:00
Carsten Haitzler 5e925c916e patch from Gustavo F. Padovan - minor code cleanups (effectually cosmetic) :)
SVN revision: 39463
2009-03-13 10:42:04 +00:00
Lars Munch 0ae6187dee Emotion fix after eina list changes
Fix emotion after eina list changes in commit r39195

Signed-off-by: Lars Munch <lars@segv.dk>



SVN revision: 39284
2009-02-28 16:12:13 +00:00
Cedric BAIL e6065f6c1c * emotion/src/modules/gstreamer: Move from Ecore_List to Eina_List.
SVN revision: 39195
2009-02-25 10:44:13 +00:00
Gustavo Sverzut Barbieri 8477bdb496 gstreamer v4l support to emotion
This patch adds gstreamer v4l support to emotion. If you got a webcam it can
be tested by doing:

emotion_test -gstreamer v4l://

This will use the first video device /dev/video0.

If you do not have a webcam, you can also try it using the Virtual Video driver

By: Lars Munch <lars@segv.dk>


SVN revision: 39147
2009-02-22 17:16:47 +00:00
Gustavo Sverzut Barbieri 31a7c3c0d2 Do not spam the user if no length available
Do not spam the user if no length available from gstreamer. This is the case
for webcams, streaming audio and video etc.

By: Lars Munch <lars@segv.dk>


SVN revision: 39146
2009-02-22 17:15:23 +00:00
Gustavo Sverzut Barbieri 1fbacf6f28 Use calloc instead of malloc
Use calloc instead of malloc. This will ensure that length in set to zero if no
length is provided from gstreamer.

By: Lars Munch <lars@segv.dk>



SVN revision: 39145
2009-02-22 17:14:44 +00:00
Carsten Haitzler 297858d10c calloc not malloc! bad patches!
SVN revision: 38318
2008-12-25 08:35:51 +00:00
Vincent Torri d945c93a08 use ecore_pipe in gstreamer module
SVN revision: 38251
2008-12-20 16:31:55 +00:00
Gustavo Sverzut Barbieri 25c58aefef emotion: set default volume to 80%.
SVN revision: 37454
2008-11-04 11:48:19 +00:00
Cedric BAIL 66c2f07a28 Fix bug in emotion_test discovered by jcwong introduced in r36943.
SVN revision: 37373
2008-11-01 15:10:22 +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
Gustavo Sverzut Barbieri 510146a383 Set member_{add,del} to NULL.
SVN revision: 37088
2008-10-25 03:01:12 +00:00
Cedric BAIL 17626bb400 Remove Evas List from Emotion.
SVN revision: 36943
2008-10-21 16:35:41 +00:00
Carsten Haitzler c602dde40b vlc moduel was utterly wrong - methods wrong comapred to module struct funcs.
fixed. still broken. did this ever work? :)



SVN revision: 36825
2008-10-19 22:45:20 +00:00
Gustavo Sverzut Barbieri ea7104a545 emotion: set volume when files are opened.
SVN revision: 36531
2008-10-08 16:20:02 +00:00
Gustavo Sverzut Barbieri 0ebceb16a1 emotion: do not try to do file_set when no plugin is loaded.
SVN revision: 36530
2008-10-08 15:38:42 +00:00
Gustavo Sverzut Barbieri 030a0f6e52 emotion-gstreamer: use proper scale for volume.
Albeit gst-inspect returns a range from 0.0 to 10.0 for volume,
anything more than 1.0 will be distorted and sound horible.



SVN revision: 36485
2008-10-06 21:37:03 +00:00
Nicolas Aguirre aee5f5cec6 Add -vlc option to emotion_test
SVN revision: 36443
2008-10-05 13:14:55 +00:00
Vincent Torri 0829e2e3bc add vlc backend
SVN revision: 36280
2008-09-27 21:07:53 +00:00
Gustavo Sverzut Barbieri aa3aac7dbf Fix position reporting.
Always call pos_get() and also fix these on xine and gstreamer, we
should query the current position and do not trust cached value. For
instance, when no video is present, no handoff/frame-decoded is called
so no cache is updated.



SVN revision: 36271
2008-09-26 23:17:57 +00:00
Gustavo Sverzut Barbieri 521daa2f9d emotion-gstreamer: Add some refactor, more to come.
SVN revision: 36261
2008-09-26 00:02:43 +00:00
Gustavo Sverzut Barbieri d29b7694cb emotion+visualization: export and reorder.
done:
 * module api changed, vis_set is not close to vis_get, vis_supported
   was added.
 * exported these properties in emotion_object.
 * gstreamer plugin now starts with no visualization.

todo:
 * add xine support.
 * make gstreamer able to dynamically change visualization.


PS: gstreamer module really needs a cleanup, losts of functions need
"static" or add proper prefix, including "gst" to avoid it clash with
other symbols.




SVN revision: 36260
2008-09-25 23:15:21 +00:00
Sebastian Dransfeld feb962a48c Remove seek guard, as it isn't updated during playing.
SVN revision: 35918
2008-09-10 05:08:00 +00:00
Sebastian Dransfeld b85e619342 Revert to not having seek_to_pos at all.
SVN revision: 35917
2008-09-10 05:05:23 +00:00
Sebastian Dransfeld ca775d8d81 EAPI
SVN revision: 35916
2008-09-10 05:00:32 +00:00
Sebastian Dransfeld 6d35cd3c98 Keep guard against seeking to the same position, but initialize to -1.
SVN revision: 35913
2008-09-10 04:29:52 +00:00
Sebastian Dransfeld cabff8277f Initialize seek variables to -1, so that seek to 0 will work.
SVN revision: 35912
2008-09-10 04:24:38 +00:00
Vincent Torri 780b865044 fix position_set()
SVN revision: 35891
2008-09-09 08:49:29 +00:00
Gustavo Sverzut Barbieri 58a49c2f69 Add calculate callback to Evas_Smart_Class.
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.



SVN revision: 35860
2008-09-07 01:25:49 +00:00
Sebastian Dransfeld 84553cfb4a formatting
SVN revision: 35012
2008-07-06 10:05:47 +00:00
Sebastian Dransfeld ec19c6f700 formatting
SVN revision: 35011
2008-07-06 09:52:21 +00:00
Sebastian Dransfeld 10bac60aa1 remove trailing whitespace
SVN revision: 35010
2008-07-06 09:39:08 +00:00
Sebastian Dransfeld a5b61e7746 Add vim header
SVN revision: 35009
2008-07-06 09:32:08 +00:00
Sebastian Dransfeld ac83d5a90b formatting
SVN revision: 35008
2008-07-06 09:31:29 +00:00
Nicolas Aguirre 0d3907acf3 Corrects retrieving metadata for gstreamer module
http://bugs.enlightenment.org/show_bug.cgi?id=504


SVN revision: 35001
2008-07-04 17:56:24 +00:00
Sebastian Dransfeld 2a28ea17b4 Remove unused variables.
SVN revision: 34868
2008-06-19 12:49:11 +00:00
Sebastian Dransfeld f05fe5a8da ignore
SVN revision: 34863
2008-06-19 12:29:22 +00:00
doursse 451451d3e9 remove debug message
SVN revision: 34582
2008-05-15 17:46:13 +00:00
doursse caea856117 * reorganize the way the gstreamer pipeline is built. Fix some usages
of emotion_object_file_set()
 * move the "frame_decode" evas event to _emotion_frame_new() a,d
   replace it in _emotion_video_pos_update() by "position_update"
 * fix a mem leak in the gstreamer backend and in the smart object


SVN revision: 34581
2008-05-15 16:52:04 +00:00
doursse ac834a2726 Don't set sd->video to NULL. sd->video is initialized only when
emotion_object_init() is called. Hence, setting sd->video to NULL
there implied that the code:

emotion_object_init(o, module);
emotion_object_file_set(o, file1);
emotion_object_file_set(o, NULL);
emotion_object_file_set(o, file2);

seg fault.

(such code is useful when you want to reset the same stream
(file1 = file2). The other solution would be to destroy everything
and recreating the pipeline, which is not nice)


SVN revision: 34571
2008-05-14 21:39:33 +00:00
doursse e65023bf1d Contrary to what gstremear's doc says, gst_deinit() does not clean what
gst_init() allocates. Hence, 2 calls of the couple gst_init() / gst_deinit()
fail miserabily. Gstreamer's dev says that the exported function gst_deinit()
should not be called, so let's remove it...


SVN revision: 34560
2008-05-13 20:50:34 +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 2ef004009b fix #ifdef
SVN revision: 34065
2008-03-20 21:13:55 +00:00
Gustavo Sverzut Barbieri 46f07234a0 Minor cleanups.
* bitfield must be unsigned;
 * static to most globals;
 * call shutdown on exit.


SVN revision: 33865
2008-02-28 20:35:16 +00:00
doursse 6c22f4068d Fix the play of 2 files. Patch by Nicolas Aguirre
SVN revision: 32576
2007-11-11 16:02:02 +00:00
doursse eb6534508d autostuff improvements:
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
   and check the required minimal versions.
 * add bzipped distribution archive
 * add AC_LIBTOOL_WIN32_DLL
 * forbid libtool to check fortran and c++ compilers
 * compute libtool versioning from the version of the package
 * pass the directories based on ${prefix} to the preoprocessor
   with the -D option
 * replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
 * remove useless -L flags in *_la_LDFLAGS
 * remove Makefile.in on maintainer-clean rule


SVN revision: 32564
2007-11-11 09:12:08 +00:00
Peter Wehrfritz 4efe3eb21c following the api changes of ecore
SVN revision: 32411
2007-11-06 17:03:43 +00:00
Sebastian Dransfeld b8ee0529f9 Add type identifier.
SVN revision: 32400
2007-11-06 06:56:53 +00:00
doursse 48df189aa7 now you can play several files without segfault
SVN revision: 32299
2007-11-02 11:58:59 +00:00
doursse 4649e92bb8 * Use ecore_plugin instead of dlfcn
* the modules names are now "xine" and "gstreamer" (it's useless to add
   the extension, as ecore_plugin do not need it). I'll fix eclair,
   etk_extra and ewl.
 * look for the modules in path that is pointed by the env variable
    EMOTION_MODULES_DIR first.
 * fix a leak in the gstreamer module
 * remove some trailing spaces


SVN revision: 32261
2007-10-31 19:34:39 +00:00
Carsten Haitzler 8bf6f2f344 fix odd sized videos
SVN revision: 32186
2007-10-28 10:19:09 +00:00
Carsten Haitzler 42ee3df2f6 handle exists too - and it gets written!
SVN revision: 32179
2007-10-28 03:59:23 +00:00
Carsten Haitzler 5482c36015 check if *mod is null
SVN revision: 32167
2007-10-26 10:49:16 +00:00
Brett Nash 8e86740929 Fix two bugs:
- Get pixels from the image object not the smart object
	- Fix typo in if statement


SVN revision: 32157
2007-10-25 04:52:39 +00:00
Carsten Haitzler cf49928045 cedric's ecore_job_init/shtudown patches.
SVN revision: 31972
2007-10-05 05:12:38 +00:00
doursse 6c1843903c * src/modules/emotion_gstreamer.c: (em_file_open):
* src/modules/emotion_gstreamer_pipeline.c: (cb_handoff),
(emotion_pipeline_dvd_build), (emotion_pipeline_uri_build),
(emotion_pipeline_file_build), (_emotion_streams_sinks_get),
(_emotion_video_sink_fill), (_emotion_audio_sink_fill):
* src/modules/emotion_gstreamer_pipeline.h:
add the support of URI playback. Minor fixes.
Fix bug #114


SVN revision: 31592
2007-09-01 17:51:40 +00:00
moom 365936048f * Do not unref twice the same message
SVN revision: 31400
2007-08-19 14:11:38 +00:00
moom 6ad92c53eb * Fix a potential segv with the Gstreamer engine
SVN revision: 31197
2007-08-06 19:17:39 +00:00
Carsten Haitzler 4b435be1ed move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Peter Wehrfritz cd20fbc9d9 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Carsten Haitzler ade3911a13 work around xine deadlock
SVN revision: 30891
2007-07-18 05:13:19 +00:00
Carsten Haitzler 6f07dd49ee debugging emotion.
SVN revision: 30889
2007-07-18 04:42:31 +00:00
Carsten Haitzler 51080ff853 various patches from the devel mailing list in - and fixed where needed.
SVN revision: 30818
2007-07-15 08:28:11 +00:00
Carsten Haitzler 2432f85b41 link modules to emotion
SVN revision: 29901
2007-05-07 14:04:40 +00:00
Carsten Haitzler dcf1bd85b7 protect if opening still
SVN revision: 29869
2007-05-06 06:40:00 +00:00
Carsten Haitzler 97d7a0526b change to use lazy eval for dlopen
SVN revision: 29868
2007-05-06 05:05:26 +00:00
Carsten Haitzler 826f1c2dcf export api calls to modules
SVN revision: 29867
2007-05-06 05:03:18 +00:00
Carsten Haitzler 6eea59250e use mutex's right with cond's
SVN revision: 28873
2007-03-21 20:20:45 +00:00
Carsten Haitzler d1cd35897d move some more stuff to the threads
SVN revision: 28815
2007-03-19 18:10:21 +00:00
Sebastian Dransfeld 314ec9ce7a Fix compiler warnings.
SVN revision: 28696
2007-03-13 16:23:59 +00:00
Sebastian Dransfeld f7cc0332f5 Fix warnings.
SVN revision: 28695
2007-03-13 16:17:38 +00:00
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