Commit Graph

627 Commits

Author SHA1 Message Date
Rafael Antognolli 4be7a99b94 emotion/generic: Fix frame dropping.
Move the frame drop counter to the shared memory object, so the player
can check its value and not send new frames if we didn't "consume" the
previous one.

Also move the triple buffering pointer changing to the display function,
so it will only lock once when accessing the critical region.

SVN revision: 63220
2011-09-05 21:52:18 +00:00
Rafael Antognolli 0d7da38f05 emotion/generic: Add support for fetching meta info.
SVN revision: 63219
2011-09-05 21:52:14 +00:00
Rafael Antognolli bed7fa1c6a emotion/generic: Add audio/video/spu channel set/get/count.
SVN revision: 63218
2011-09-05 21:52:11 +00:00
Rafael Antognolli a31e5f2b24 emotion/generic - Set filename to NULL on file_close.
Otherwise if we try to call file_set(<some file>) after file_set(NULL),
it will send a close command to the player for an already closed file.

Also make the example cycle through the list of movies, but still
passing through a NULL file when reaching one of the ends of the list.

SVN revision: 63208
2011-09-05 16:37:20 +00:00
Rafael Antognolli c6ca436e79 emotion/generic: formatting.
SVN revision: 63206
2011-09-05 16:07:10 +00:00
Rafael Antognolli 93b310e15c emotion/generic: Reset initial values on file_set.
These values need to be reset as soon as a new file is set, otherwise
they can give wrong information to evas about the size of pixels to
render.

SVN revision: 63205
2011-09-05 16:07:06 +00:00
Rafael Antognolli 10621a8c15 emotion/generic: Make sure no new_frame is sent while opening or closing files.
This wasn't happening anyway, but let's make sure it won't ever happen.

SVN revision: 63204
2011-09-05 16:07:04 +00:00
Rafael Antognolli dca7c873b2 emotion/generic - Don't start opening new file when another one is being open.
SVN revision: 63203
2011-09-05 16:07:00 +00:00
Rafael Antognolli d04377d4d2 emotion/generic - Use pipes instead of stdin/stdout for communication.
Now the player will have the stdin and stdout available for anything
else, and there's no need to make line-buffering with ecore_exe anymore.

SVN revision: 63198
2011-09-05 13:12:17 +00:00
Rafael Antognolli 733fe1d444 emotion/generic: Add return value to EM_RESULT_FILE_SET_DONE.
It now checks if was possible to get the shared memory, and returns true
or false. This will command will also be used later to return false for
file opening no matter what was the problem, and maybe the int parameter
will indicate the type of error.

SVN revision: 63197
2011-09-05 13:11:53 +00:00
Cedric BAIL d7d4603f0c emotion: remove useless broken check.
SVN revision: 63190
2011-09-05 11:08:15 +00:00
Cedric BAIL 568df526af emotion: properly delay buffer destruction.
SVN revision: 63189
2011-09-05 10:57:39 +00:00
Cedric BAIL e2e66fb1ce emotion: better error message.
SVN revision: 63173
2011-09-04 21:13:49 +00:00
Cedric BAIL d6c8e07236 emotion: better handling of gstreamer samsung backend.
SVN revision: 63172
2011-09-04 21:12:34 +00:00
Gustavo Sverzut Barbieri e83e1ea1fc generic module can now be built-in as static module.
also removed sole left-overs of previous disable of vlc engine.



SVN revision: 63141
2011-09-04 00:17:06 +00:00
Gustavo Sverzut Barbieri 999e3bf306 remove old vlc, fix build bugs and introduce m4 for generic players.
Previous commit to disable VLC messed everything, so this one fixes it doing:

 - remove old src/modules/vlc and related.
 - add EMOTION_CHECK_GENERIC_PLAYER() m4 macro
 - change previous EMOTION_BUILD_VLC to EMOTION_BUILD_GENERIC_VLC



SVN revision: 63140
2011-09-04 00:07:41 +00:00
Sebastian Dransfeld b96bd7ff8f Emotion: Remove unused variables
SVN revision: 63138
2011-09-03 21:09:39 +00:00
Sebastian Dransfeld 6e4c33d8f7 Emotion: Add __UNUSED__ where needed
SVN revision: 63137
2011-09-03 21:09:35 +00:00
Sebastian Dransfeld 02b73860a2 Emotion: Fix memleak
Remove weird buffer which never gets used or free'd

SVN revision: 63136
2011-09-03 21:09:31 +00:00
Sebastian Dransfeld 9a282958c9 Emotion: Fix signed warnings
SVN revision: 63135
2011-09-03 21:09:28 +00:00
Sebastian Dransfeld 5c8e0ea66b Emotion: Add __UNUSED__ where needed
SVN revision: 63134
2011-09-03 21:09:24 +00:00
Sebastian Dransfeld 6972fe5e82 Emotion: Remove unused variables
SVN revision: 63133
2011-09-03 21:09:19 +00:00
Sebastian Dransfeld ffb22a5c4e Emotion: Really disable vlc
SVN revision: 63132
2011-09-03 20:47:28 +00:00
Cedric BAIL 565b2542a2 emotion: remove useless warning.
SVN revision: 63120
2011-09-03 12:54:06 +00:00
Cedric BAIL 64906f8485 emotion: protection against bad decoder.
SVN revision: 63118
2011-09-03 12:36:04 +00:00
Gustavo Sverzut Barbieri f567f91b7b emotion installs no AUTHORS, thus do not check it as magic file.
SVN revision: 63109
2011-09-03 05:32:00 +00:00
Cedric BAIL 4f844f63f5 emotion: resize only when needed and fix typo.
SVN revision: 63089
2011-09-02 13:10:22 +00:00
Cedric BAIL d7771445b1 emotion: remove useless code.
SVN revision: 63087
2011-09-02 08:51:56 +00:00
Gustavo Sverzut Barbieri e26e9df5b2 emotion/generic: eina module functions can be static.
SVN revision: 63081
2011-09-02 01:35:16 +00:00
Gustavo Sverzut Barbieri 5965cf014f emotion/generic/vlc: die when parent dies.
nasty fix for a nasty emotion behavior :-/



SVN revision: 63080
2011-09-02 01:34:07 +00:00
Gustavo Sverzut Barbieri acda54440e emotion/generic: make log variable static.
yeah, I'm paranoid ;-)



SVN revision: 63079
2011-09-01 23:47:53 +00:00
Gustavo Sverzut Barbieri 3bd43e9809 emotion: just try vlc if it was compiled.
not that big optimization, but does not hurt either.


SVN revision: 63078
2011-09-01 23:46:39 +00:00
Gustavo Sverzut Barbieri 3ed350c887 emotion: use eina_prefix to determine player location.
Move players from $bindir to $libdir/emotion/utils and find them with
eina_prefix. I was willing to play with this prefix thing, quite nice
;-)



SVN revision: 63077
2011-09-01 23:45:18 +00:00
Cedric BAIL e5b7c25792 emotion: handle Samsung S5PC110 and S5PC210.
SVN revision: 63076
2011-09-01 23:11:36 +00:00
Gustavo Sverzut Barbieri 11bda2bc49 emotion: test proxy of videos with -R/--reflex option.
Emotion explores some different paths in Evas pipeline as it changes
image pixels frequently and sometimes uses different
colorspaces. Let's change if it's all working fine using a nice proxy
effect that mirrors the playing video.

emotion_test --reflex <video.avi>



SVN revision: 63071
2011-09-01 21:45:04 +00:00
Rafael Antognolli a7ae4566b8 Add generic player backend (with vlc player).
This generic player backend executes a separate player in another
process. It receives the bytes to be drawn on the emotion object through
a shared memory, and communicates with the player through a pipe, using
the player standard input/output.

The player must communicate with emotion using the defined commands
specified in the Emotion_Generic_Plugin.h. It doesn't need to link
against emotion, just include this file for easier implementation.

This implementation was sponsored by Zodiac Aerospace.

SVN revision: 63062
2011-09-01 19:04:15 +00:00
Cedric BAIL 5586b1ed11 emotion: better debug infrastructure.
SVN revision: 63039
2011-08-31 15:51:50 +00:00
Cedric BAIL e1e28d7ba4 emotion: evas is going to support more video format than ffmpeg...
SVN revision: 63038
2011-08-31 15:48:47 +00:00
Cedric BAIL 0fbe1f15a3 emotion: better debugging.
SVN revision: 63012
2011-08-30 22:40:01 +00:00
Cedric BAIL bc3979229f emotion: correctly setup the pipeline for non standard colorspace.
SVN revision: 62986
2011-08-30 14:05:49 +00:00
Cedric BAIL 85fd7e36bf emotion: fix typo.
SVN revision: 62971
2011-08-29 21:23:26 +00:00
Cedric BAIL 1a1b9bc52b emotion: handle evas NV12 and MT12 colorspace format.
SVN revision: 62969
2011-08-29 21:00:08 +00:00
Cedric BAIL 4d7ca99b4a emotion: better handling of asynchronous audio file opening.
SVN revision: 62955
2011-08-29 16:07:01 +00:00
Lucas De Marchi 00b797e50b emotion: g_free already checks if pointer is NULL
semantic patch:

@r1@
expression E1;
@@

- if (E1)
-	g_free(E1);
+ g_free(E1);




SVN revision: 62834
2011-08-25 21:09:42 +00:00
Gustavo Lima Chaves 0608f4962e [emotion] Fix alphabetical index of doc. components.
SVN revision: 62748
2011-08-24 15:07:36 +00:00
Rafael Antognolli 774295c797 Emotion: Make links work on PDF documentation.
SVN revision: 62589
2011-08-19 13:37:22 +00:00
Rafael Antognolli 223291ffc1 emotion/smart - Use ARGB32 when it's the format returned by the module.
SVN revision: 62542
2011-08-17 19:37:31 +00:00
Cedric BAIL 6245940483 emotion: remove g stuff and make it safer.
SVN revision: 62514
2011-08-16 16:11:50 +00:00
Cedric BAIL 236000fefa emotion: fix some race condition.
SVN revision: 62355
2011-08-11 16:16:10 +00:00
Cedric BAIL 126c3d5cec emotion: fix memory leak.
SVN revision: 62350
2011-08-11 12:13:51 +00:00
Cedric BAIL 592e18828f emotion: make v4l2 optionnal.
SVN revision: 62243
2011-08-09 09:15:56 +00:00
Cedric BAIL 917b167399 emotion: fix some uninitialized value.
SVN revision: 62140
2011-08-05 15:52:27 +00:00
Cedric BAIL c81a932b68 emotion: fix some memory leak.
SVN revision: 62128
2011-08-05 08:51:10 +00:00
Jonas M. Gastal ea9adecdab Emotion: Fixing emotion_ratio.eps image.
SVN revision: 62108
2011-08-04 21:16:48 +00:00
Jonas M. Gastal 6648c02cb9 Emotion: fix pdf doc generation.
SVN revision: 62106
2011-08-04 20:55:47 +00:00
Cedric BAIL 1812ce8a2f emotion: add a way to retrieve pixels.
SVN revision: 62092
2011-08-04 10:24:32 +00:00
Rafael Antognolli 42dabe5fe5 emotion/ratio - Explain how to use emotion_object_ratio_get().
SVN revision: 62068
2011-08-03 20:58:56 +00:00
Cedric BAIL c33aaf812f emotion: fix webcam detection.
SVN revision: 62054
2011-08-03 14:23:51 +00:00
Carsten Haitzler bd7db7ea8d spacing in docs.
SVN revision: 62037
2011-08-03 04:39:58 +00:00
Carsten Haitzler 5ee60f240d and move authors and contact to another page.
SVN revision: 62034
2011-08-03 03:19:34 +00:00
Carsten Haitzler 57360bc83c fine tune front page of emotion docs
SVN revision: 62033
2011-08-03 02:57:45 +00:00
Carsten Haitzler 24d5ac23f9 get rid of emotion.dox and move to Emotion.h where all docs should be.
examples.dox is a slight issue atm.



SVN revision: 62032
2011-08-03 02:34:32 +00:00
Carsten Haitzler d5d9b9d32c fix authors
SVN revision: 62031
2011-08-03 02:30:08 +00:00
Cedric BAIL e786ef0268 emotion: and now live streaming are also working.
SVN revision: 62014
2011-08-02 16:44:47 +00:00
Cedric BAIL 828b67374e emotion: make gstreamer backend async and handle it correctly every where.
SVN revision: 62010
2011-08-02 16:22:30 +00:00
Cedric BAIL ef29ee414d emotion: use better infra for reading GstBus.
SVN revision: 61999
2011-08-02 14:04:08 +00:00
Carsten Haitzler 29864666c9 that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.



SVN revision: 61974
2011-08-02 04:13:33 +00:00
Cedric BAIL 6e011beb8d emotion: forgotten file.
SVN revision: 61950
2011-08-01 12:42:16 +00:00
Cedric BAIL ecadef9ee9 emotion: use new ecore infrastructure and remove some race condition.
SVN revision: 61949
2011-08-01 12:21:14 +00:00
Cedric BAIL ecf52189ca emotion: don't use pipeline if not set.
SVN revision: 61886
2011-07-29 09:24:14 +00:00
Cedric BAIL 619332f0c0 emotion: correctly close pipeline on file close, plus minor fix.
SVN revision: 61675
2011-07-25 09:10:44 +00:00
Cedric BAIL 9910cd4d3e emotion: fix buggies, add YUY2 support.
Note: almost working webcam support. Need to detect
when the pipeline need to be playing to know what is in the
stream. Or maybe do that later...


SVN revision: 61550
2011-07-21 10:46:54 +00:00
Cedric BAIL cfaac57a76 emotion: add v4l2:// uri scheme for webcam.
SVN revision: 61512
2011-07-19 22:34:54 +00:00
Cedric BAIL 716660e509 efl: fix make dist-check.
SVN revision: 61511
2011-07-19 22:34:17 +00:00
Cedric BAIL b79ff92fe9 emotion: improve debugging.
SVN revision: 61456
2011-07-18 00:17:21 +00:00
Cedric BAIL 6eb9bfd5bc emotion: don't forget requirement.
SVN revision: 61455
2011-07-17 22:04:11 +00:00
Cedric BAIL 9384d7d814 emotion: always forgot that damn svn add !
SVN revision: 61454
2011-07-17 21:58:40 +00:00
Cedric BAIL 0f1f6bfe18 emotion: remove useless code.
SVN revision: 61453
2011-07-17 21:39:26 +00:00
Cedric BAIL dad10a507f emotion: add webcam detection, cleanup code and add timing detection.
SVN revision: 61452
2011-07-17 21:38:54 +00:00
Lucas De Marchi 84f0c4de1d emotion: fix common misspellings
Misspellings detected by codespell.



SVN revision: 61406
2011-07-15 14:34:02 +00:00
Cedric BAIL 186e0807ee emotion: properly handle some race condition.
SVN revision: 61395
2011-07-15 09:12:24 +00:00
Cedric BAIL 333f523df4 emotion: raise gstreamer backend as it is more stable than the other.
SVN revision: 61340
2011-07-13 14:14:32 +00:00
Cedric BAIL 865761672e emotion: fix race condition and never call fill_set in the backend.
SVN revision: 61051
2011-07-05 13:25:38 +00:00
Cedric BAIL 95b6992006 emotion: fix off by one.
SVN revision: 61039
2011-07-05 11:02:28 +00:00
Rafael Antognolli 53d0a3fe82 emotion/doc - add a link in the main page to the API reference.
SVN revision: 61009
2011-07-04 14:42:56 +00:00
Rafael Antognolli ffcf50987f emotion - better introduction and link to emotion_test.
SVN revision: 61008
2011-07-04 14:31:01 +00:00
Rafael Antognolli 1d4852f11e emotion/example - basic usage of emotion commented.
SVN revision: 61007
2011-07-04 14:30:54 +00:00
Jonas M. Gastal d640fdca1a Emotion: making emotion_object_play_set doc appear.
SVN revision: 60923
2011-07-01 17:13:17 +00:00
Rafael Antognolli ab09c3a11e emotion/doc - Document more functions
- emotion_object_size_get
 - emotion_object_smooth_scale_set
 - emotion_object_smooth_scale_get
 - emotion_object_ratio_get
 - emotion_object_video_mute_set
 - emotion_object_video_mute_get
 - emotion_object_title_get
 - emotion_object_meta_info_get
 - emotion_object_vis_set
 - emotion_object_vis_get
 - emotion_object_vis_supported

SVN revision: 60919
2011-07-01 14:08:29 +00:00
Jonas M. Gastal 538e2af886 Emotion: signals documentation.
SVN revision: 60917
2011-07-01 13:46:25 +00:00
Cedric BAIL 8578459813 emotion: add empty infrastructure for suspending the pipeline.
SVN revision: 60909
2011-07-01 08:57:54 +00:00
Jonas M. Gastal 4450930374 Emotion: emotion play control functions documentation.
SVN revision: 60888
2011-06-30 21:38:44 +00:00
Rafael Antognolli 4c434a15d3 emotion/doc - Document some audio functions.
- emotion_object_audio_volume_set
 - emotion_object_audio_volume_get
 - emotion_object_audio_mute_set
 - emotion_object_audio_mute_get

SVN revision: 60884
2011-06-30 20:02:12 +00:00
Rafael Antognolli dd72eeea0e emotion/doc - documented the initialization functions.
SVN revision: 60880
2011-06-30 18:31:39 +00:00
Rafael Antognolli 662dea3019 emotion/doc - Give a brief description of the library in the front page.
SVN revision: 60879
2011-06-30 18:31:36 +00:00
Cedric BAIL 4ecb2fccad emotion: cleanup emotion async loader on file set.
SVN revision: 60869
2011-06-30 09:49:24 +00:00
Rafael Antognolli d87d2123e4 emotion/doc - Use the same doc style from the other libraries.
Copied css, header, footer and images from ecore.

SVN revision: 60840
2011-06-29 20:26:15 +00:00
Rafael Antognolli d93a2cb446 emotion/doc - doc build now uses the build system, instead gendoc.
SVN revision: 60839
2011-06-29 20:13:37 +00:00
Cedric BAIL 605d57325f emotion: add some help to debug the pipeline.
SVN revision: 60826
2011-06-29 17:45:13 +00:00
Cedric BAIL 45d0b34007 emotion: restore/save last know position for file.
SVN revision: 60825
2011-06-29 17:30:19 +00:00
Cedric BAIL 59ebbdeee0 emotion: use stringshare for file.
SVN revision: 60818
2011-06-29 13:58:42 +00:00
Cedric BAIL fe112b738d emotion: this file are now useless.
SVN revision: 60730
2011-06-27 11:47:18 +00:00
Cedric BAIL 332e51fb90 emotion: keep last gstreamer buffer around as YUV data are not copied inside evas.
SVN revision: 60667
2011-06-24 16:13:29 +00:00
Cedric BAIL f31326c6c1 emotion: fix shutdown of gstreamer plugin.
SVN revision: 60666
2011-06-24 14:52:59 +00:00
Cedric BAIL 1724785989 emotion: advertise only on frame size change.
SVN revision: 60665
2011-06-24 14:11:24 +00:00
Cedric BAIL 923bff4e1c emotion: advertise native resolution.
SVN revision: 60664
2011-06-24 12:26:29 +00:00
Cedric BAIL dadaf6f420 emotion: make preroll work and try to really turn off audio when mutted.
SVN revision: 60663
2011-06-24 12:25:15 +00:00
Cedric BAIL 46d3cd2c29 emotion: forgottent strange Windows rules.
SVN revision: 60638
2011-06-23 15:33:34 +00:00
Cedric BAIL 3c8eb1b62b emotion: add a way to test if a file could be played by emotion.
SVN revision: 60637
2011-06-23 14:58:11 +00:00
Michael Jennings 1461fec9ec Assorted build and spec fixes.
SVN revision: 60624
2011-06-23 07:01:45 +00:00
Cedric BAIL 6f7044b93d emotion: oops forgotten file.
SVN revision: 60541
2011-06-21 07:58:34 +00:00
Cedric BAIL c1f20d3e6b emotion: add a gstreamer sink.
This work was first started by Vincent Torri and Nicolas Aguirre.
I took the necessary time to make it work and included inside
emotion with Samsung sponsorship.

This code is not yet completly clean and fast, but it work and
make it possible to add more speed improvement later. This was
a needed infrastructure work.


SVN revision: 60532
2011-06-20 17:36:13 +00:00
Cedric BAIL 1dd3a72b94 emotion: temporary fix gstreamer uri to match other engine behaviour.
SVN revision: 60398
2011-06-16 15:29:29 +00:00
Vincent Torri 439a53bdbd tabs --> spaces
SVN revision: 60375
2011-06-16 06:24:25 +00:00
Vincent Torri dfd0299f5d Emotion : gstreamer backend
Fix gstreamer assertion when the creation of the pipeline fails
Improve error message when the pipeline can not pause (usually,
the media file can not be found)

SVN revision: 60374
2011-06-16 06:20:46 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Cedric BAIL cb90b07d81 autogen: unobrk things.
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL df4bef8bdf autogen: improve detection of parameter change.
SVN revision: 58667
2011-04-14 14:03:46 +00:00
Mike Blumenkrantz b49b3676ec re-disable vlc
SVN revision: 58053
2011-03-24 02:29:55 +00:00
Mike Blumenkrantz 35d2b567bc fix vlc module loading, disable slow vmem options, begin work on fast render output
SVN revision: 58049
2011-03-23 22:54:45 +00:00
Mike Blumenkrantz 208980dcb6 fix and reenable vlc backend
question: is emotion_test supposed to show the video in only a small part of the window?


SVN revision: 58044
2011-03-23 20:19:59 +00:00
Cedric BAIL 61486fad64 emotion: fix DSO build.
SVN revision: 57415
2011-02-28 14:50:27 +00:00
Carsten Haitzler a19a9010df avoid segv on file set (zero imge data)
SVN revision: 57391
2011-02-27 16:21:39 +00:00
Cedric BAIL 5ddad9ec96 emotion: override engine by setting EMOTION_ENGINE environ.
SVN revision: 57320
2011-02-25 11:33:19 +00:00
Vincent Torri 92d13b8864 remove useless calls
SVN revision: 56403
2011-01-30 10:15:05 +00:00
Vincent Torri 05d52f18e4 set MODULE_EDJE when edje external module is enabled and when edje is found
SVN revision: 56402
2011-01-30 10:03:05 +00:00
Carsten Haitzler fd424475c2 comment--
SVN revision: 56401
2011-01-30 09:51:46 +00:00
Carsten Haitzler 6e070e2935 tnx vtorri -> cleaner module thing. more minimal changes.
SVN revision: 56399
2011-01-30 09:50:48 +00:00
Carsten Haitzler b5df3392df lock externals to major version of edje.
SVN revision: 56398
2011-01-30 05:59:31 +00:00
Sebastian Dransfeld 35c165d2e4 Fix me as author
SVN revision: 55438
2010-12-10 06:05:35 +00:00
Rui Seabra 52dc7d7067 Adjusting rpm spec to a more current state of affairs.
SVN revision: 55025
2010-11-26 20:08:52 +00:00
Gustavo Sverzut Barbieri 6cbd3d09f4 warning cleanup.
there are still warnings from write(2) calls, they should be handled,
but no time now.



SVN revision: 54710
2010-11-19 02:51:46 +00:00
Gustavo Sverzut Barbieri b098f1b667 improve emotion_test, make better use of getopt, be less strict.
SVN revision: 54708
2010-11-19 02:36:18 +00:00
Carsten Haitzler fa17bbf998 no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54298
2010-11-08 05:51:09 +00:00
Carsten Haitzler 4579813efe disable vlc module in emotion. that will get rid of the problem.
SVN revision: 54070
2010-11-01 01:53:16 +00:00
Gustavo Sverzut Barbieri 720e3827bb fix static modules build, remove useless checks.
- custom pipelines are gone, remove from src/lib/Makefile.am
 - no need to check for ffmpeg/cdda anymore, they are handled by playbin2



SVN revision: 53837
2010-10-24 16:39:42 +00:00
Vincent Torri 32cf20c60e [emotion] allow externals to be built on Windows
SVN revision: 53814
2010-10-23 14:04:46 +00:00
Vincent Torri 1090b24303 [emotion] use ecore_getopt
SVN revision: 53813
2010-10-23 14:03:30 +00:00
Vincent Torri 3382c0d596 the gstreamer backend uses now gstreamer playbin2 element to
create automatically the pipeline. The code is simpler and
there is no need of the specific pipelines anymore.

SVN revision: 53649
2010-10-20 07:59:20 +00:00
Vincent Torri 2d28628c95 API break: emotion_object_file_set() returns a boolean, now.
SVN revision: 53648
2010-10-20 07:55:20 +00:00
Cedric BAIL 0548bfc394 * emotion: vlc backend is not in a good shape, disable by default.
Enable it only if you want to fix it.



SVN revision: 53598
2010-10-19 12:04:01 +00:00
Carsten Haitzler 66771ce7f2 avoid possible seg if accessing video dat for convert before its
decided and set.



SVN revision: 53246
2010-10-10 23:39:32 +00:00
Gustavo Sverzut Barbieri 1520c60364 shutup stupid emotion debug!
to get them back, use EINA_LOG_LEVELS for each module or the catch-all:

   export EINA_LOG_LEVELS_GLOB='emotion*:4'

ah, that was making me sick while playing enjoy... :-D



SVN revision: 53170
2010-10-07 22:16:43 +00:00
Gustavo Sverzut Barbieri 9f505cd3d9 export play_length as well.
SVN revision: 52841
2010-09-28 05:33:53 +00:00
Gustavo Sverzut Barbieri bcba2b261b emotion exports position, but don't use it from state description.
there should be some flags like RDONLY, RWONLY, RDWR, CONSTRUCTOR,
RUNTIME, but until there...



SVN revision: 52840
2010-09-28 05:26:48 +00:00
Carsten Haitzler 2d488b5d32 some fixes/improvements to emotion -> foound some buggers in xine -
tried making gst do it - should kind of work. i think gst is broken tho.



SVN revision: 52800
2010-09-27 10:11:52 +00:00
Cedric BAIL 2a596a37e5 * emotion: fix build of static module.
SVN revision: 51759
2010-08-30 16:18:11 +00:00
Vincent Torri 50c51279ac libtool takes care of adding -fPIC (which is btw a compiler flag and not a linker one) and -shared
SVN revision: 51757
2010-08-30 16:07:36 +00:00
Vincent Torri d8d683649e * don't tell you build emotion. It will broke windows compilation
* don't build the static lib module.a


SVN revision: 51755
2010-08-30 15:53:41 +00:00
Vincent Torri 89ebe33627 order of headers
SVN revision: 51754
2010-08-30 15:51:39 +00:00
Cedric BAIL 61c07ad1c4 * emotion: emotion_object_init will choose the best available backend
if NULL is passed.


SVN revision: 51747
2010-08-30 13:25:35 +00:00
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
Carsten Haitzler c08064fa9b fix emotion for 1.0.0alpha
SVN revision: 51193
2010-08-16 10:21:32 +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
Carsten Haitzler 86166e7bc4 make emotion do the same snap/rev thing. while i'm poking around.
SVN revision: 50183
2010-07-11 23:42:38 +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
Vincent Torri b4794c5df2 bug--
SVN revision: 48212
2010-04-21 20:50:03 +00:00
Vincent Torri 00364256fd use a macro for edje external support
SVN revision: 48211
2010-04-21 19:51:16 +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
Cedric BAIL b834c82d50 * emotion: Fix configure report.
SVN revision: 47388
2010-03-23 12:04:48 +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
Luis Felipe Strano Moraes b08434f220 Bumping version of emotion.
SVN revision: 45886
2010-02-04 20:52:13 +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
Iván Briano d60273415d Fix backend detection, by commitless vtorri
SVN revision: 44910
2010-01-05 13:15:22 +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 edbc2f8cfd Add option to configure to specify edje_cc. The build of the
theme can now be done when cross-compiling


SVN revision: 40638
2009-05-14 08:09:47 +00:00
Daniel Kolesa 07ec7509a9 Fixed debian stuff everywhere.
SVN revision: 40505
2009-05-04 17:36:48 +00:00
Rodrigo Cesar Lopes Belem a7c514da2b Added libtool as Build-Depends to everything that uses
DEB_CONFIGURE_SCRIPT := ./autogen.sh

SVN revision: 40500
2009-05-03 14:32:23 +00:00
Daniel Kolesa ff0d4f71e2 Moved to fontconfig
SVN revision: 40364
2009-04-25 10:02:06 +00:00
Daniel Kolesa 7a07300a77 Updated changelogs for packages which will go into repository.
SVN revision: 40270
2009-04-21 17:39:20 +00:00
Daniel Kolesa 4a2d186b02 Updated Standards-Version
SVN revision: 40228
2009-04-19 16:28:48 +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
Daniel Kolesa cd8dd91b01 Updated debian stuff(grew Standards-Version, updated python-ecore rules file)
SVN revision: 40043
2009-04-14 17:21:19 +00:00