Commit Graph

14 Commits

Author SHA1 Message Date
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
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
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
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 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
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