Commit Graph

28 Commits

Author SHA1 Message Date
Leandro Dorileo d9c28e87a2 Emotion: generic vlc player now uses eina_log
SVN revision: 82098
2013-01-03 20:27:08 +00:00
Leandro Dorileo e3e1511bac Emotion: introce emotion_object_video_subtitle_file_set() call
For setting an arbitrary subtitle file, this patch introduces the
emotion_object_video_subtitle_file_set() and its counterpart
emotion_object_video_subtitle_file_get().

The tag @sice were added as 1.7.2 since we're preparing a backport to
stable tree.


SVN revision: 82019
2013-01-02 21:03:30 +00:00
Rafael Antognolli 778bf8473f emotion/generic/vlc: Only send frame size when it's not zero.
SVN revision: 80117
2012-12-04 00:45:47 +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
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 71c85603a7 emotion: implement SPU switch for generic/vlc.
Patch by Hugo Camboulive <hugo.camboulive@zodiacaerospace.com>.


SVN revision: 71831
2012-06-08 05:10:29 +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
Rafael Antognolli c40be46fc4 emotion/generic-vlc: Change playing position before start playing.
This will avoid that a video that reached its end starts playing from
that end when started again.

SVN revision: 69592
2012-03-23 20:18:22 +00:00
Rafael Antognolli a39a4f612e emotion/generic-vlc: Don't try to stop the player from event thread.
Must send the command through the pipe so the main thread can stop it.

SVN revision: 69591
2012-03-23 19:42:38 +00:00
Rafael Antognolli 7e84213ab0 emotion/generic-vlc: Add callback for reaching end of playback.
SVN revision: 69437
2012-03-15 20:43:21 +00:00
Rafael Antognolli ddb6b7aab2 Don't abort when there's no video size.
For music, it does make sense to return -1.

SVN revision: 69436
2012-03-15 20:43:17 +00:00
Bruno Dilly ba9617888d Emotion: remove unused var on generic
SVN revision: 68849
2012-03-06 20:57:50 +00:00
Cedric BAIL 6b961d4772 emotion: fix build with Eina_Semaphore.
SVN revision: 66697
2011-12-30 15:06:24 +00:00
Rafael Antognolli d31851e68c emotion/generic/vlc: Remove more warnings.
SVN revision: 63781
2011-10-03 18:39:23 +00:00
Rafael Antognolli ab80242e86 emotion/generic/vlc: VLC needs to write data somewhere.
It seems that depending on the system, vlc can't use a NULL pointer to
the pixels where it should write its data.

So a small amount of memory should be allocated and passed to its
rendering callbacks (specifically, the lock callback) when the file is
being opened and decoded for the first time. Then this memory can be
freed, since the real rendering will happen on the shared memory area.

SVN revision: 63777
2011-10-03 18:19:48 +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 2ee03004d6 emotion/generic: Don't send position update when skipping frames.
SVN revision: 63227
2011-09-06 12:37:03 +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 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 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
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