Commit Graph

53 Commits

Author SHA1 Message Date
Rafael Antognolli e7775c042e emotion/generic: Mark file as not ready during partial shutdown.
This should fix ticket #1586.

SVN revision: 78886
2012-11-03 16:04:09 +00:00
Bruno Dilly 09f40167fe emotion: fix tracks info free
fix free with pointer not nullified



SVN revision: 75797
2012-08-28 17:00:56 +00:00
Bruno Dilly 4e31ca015e emotion: revert "free channels only if there's channel
to free"

This reverts commit rev 75741.



SVN revision: 75796
2012-08-28 17:00:50 +00:00
Cedric BAIL 97aec1869f emotion: reset VLC pipeline on EOS.
NOTE: I gave up and completely restart the child, seems like
the only reliable way to do it.



SVN revision: 75769
2012-08-28 09:17:34 +00:00
Iván Briano 1375052f40 emotion: free channels only if there's channel to free
No need to free channels if there's no channels to be freed.

By: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 75741
2012-08-27 19:34:18 +00:00
Cedric BAIL 593f82e316 emotion: oops, this files should never have gotten in.
SVN revision: 75496
2012-08-21 09:20:08 +00:00
Cedric BAIL 36bc7b270b emotion: fix priority_set/get
Patch by Sohyun Kim <anna1014.kim@samsung.com>


SVN revision: 75495
2012-08-21 09:17:38 +00:00
Cedric BAIL 080e163c6f emotion: Add support for "playback_started" callback to generic player.
Patch by Pierre Le Magourou <pierre.lemagourou@openwide.fr>


SVN revision: 71830
2012-06-08 04:59:37 +00:00
Vincent Torri da77ffd07a Emotion: Fix shm_open check + various autotools cleaning
This works in linux, and should fix shm_detection on BSD (including Mac)

   BSD, Mac and solaris users : please check that it compiles and shm_open is detected


SVN revision: 69618
2012-03-25 18:43:21 +00:00
Bruno Dilly 17cd965cba Emotion Generic: pass on when ecore event data cb fails
SVN revision: 69565
2012-03-22 12:01:55 +00:00
Bruno Dilly a15108fbd6 Emotion generic: check if player is the expected on _player_del_cb
SVN revision: 69438
2012-03-15 21:57:38 +00:00
Bruno Dilly b88eb4b9fc Emotion generic: Don't cancel player add cb on first try
If it's not the player we expect, let's give the other registered
callbacks a chance.



SVN revision: 69300
2012-03-13 18:48:31 +00:00
Bruno Dilly ba9617888d Emotion: remove unused var on generic
SVN revision: 68849
2012-03-06 20:57:50 +00:00
Davide Andreoli cd00891529 From: Davide Andreoli <dave@gurumeditation.it>
Subject: [E-devel] Emotion buffer size patch

Hi, here is a patch for emotion, it add a new function to retrive the
status of the buffer while playing online stream.
It is implemented only for the gstreamer backend, the xine one
do not play at all here. What about the generic one?

(xine does play - i implameneted this with the xine module, and
generic is given a func that always returns 1.0 for now).



SVN revision: 68684
2012-03-05 09:33:05 +00:00
Thanatermesis 4776bcfbd7 Fix linking complaints brought out by:
From: Thanatermesis <thanatermesis.ecvs@gmail.com>
Subject: [E-devel] LDFLAGS with -Wl,-z,defs

Aparently if you add the option "-Wl,-z,defs" to your LDFLAGS, there's some
libs that doesn't compile, like evas and e_dbus, there's some logs:



SVN revision: 68464
2012-02-27 05:20:17 +00:00
ChunEon Park d2c39a644f emotion - fixed typo
SVN revision: 66791
2012-01-03 11:59:01 +00:00
Cedric BAIL 6b961d4772 emotion: fix build with Eina_Semaphore.
SVN revision: 66697
2011-12-30 15:06:24 +00:00
Vincent Torri 5924c8bacc Emotion: use eina_semaphore API and update EFL versions
SVN revision: 66696
2011-12-30 14:17:56 +00:00
Carsten Haitzler acc4439060 shhhhh warnings
SVN revision: 66695
2011-12-30 13:46:55 +00:00
Vincent Torri 1fb8ee18d9 Emotion:fix compilation on Windows
Note1: disable generic plugin on Windows as shm_open like
function note implemented on that platform yet.

Note2: want_module stuff must be fixed in the m4 macro

Note3: abstract semaphore code in Eina ?

SVN revision: 66686
2011-12-30 11:46:29 +00:00
Cedric BAIL 14cfa65bd9 emotion: fix symbol issue.
NOTE: all inline function in header should be static or
they will export symbol and you don't want that.


SVN revision: 64765
2011-11-05 15:54:34 +00:00
Cedric BAIL eaa1a494be emotion: warning--
SVN revision: 64709
2011-11-03 17:09:23 +00:00
Rafael Antognolli b437af7bd5 emotion/generic: Remove warnings.
Remove unused functions, variables and fix a "return" on a non-void
returning function.

SVN revision: 63780
2011-10-03 18:39:20 +00:00
Cedric BAIL a57395a623 emotion: first try with xv.
SVN revision: 63759
2011-10-03 03:30:39 +00:00
Rafael Antognolli 47c39e976c emotion/generic: Non-blocking meta info retrieval.
SVN revision: 63238
2011-09-06 21:15:53 +00:00
Rafael Antognolli 7779d54fe4 emotion/generic: Non-blocking track info retrieval.
SVN revision: 63237
2011-09-06 21:15:50 +00:00
Rafael Antognolli cfed99689b emotion/generic: Non-blocking event reading from player.
Temporarily disabled fetching/sending of channel and meta info. Will
enable it with the next commit, to simplify code.

SVN revision: 63236
2011-09-06 21:15:46 +00:00
Rafael Antognolli b786a519be emotion/generic: Small fixes.
Update enum doc, and return 1 on success for getting shm_data.

SVN revision: 63235
2011-09-06 21:15:42 +00:00
Rafael Antognolli 636e78ee2f emotion/generic: Postpone setting some options to after open_done.
These options must be set on the player even if there's no file opened
yet. Thus, just postpone the related commands to when the player has
opened the file already.

SVN revision: 63234
2011-09-06 21:15:39 +00:00
Rafael Antognolli 2650c9d349 emotion/generic: There's no need to check the standard output.
The player stdout is not used anymore to read commands from.

SVN revision: 63233
2011-09-06 21:15:36 +00:00
Rafael Antognolli 87ff8ea15c emotion/generic: Should reset meta_info and channels on file_close.
SVN revision: 63232
2011-09-06 21:15:32 +00:00
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
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