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
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
The new function emotion_object_keep_aspect_set() allow to set a policy
that will automatically change the emotion object border property, based
on the video aspect ratio and object current aspect ratio.
Possible values are:
* EMOTION_ASPECT_KEEP_NONE
* EMOTION_ASPECT_KEEP_WIDTH
* EMOTION_ASPECT_KEEP_HEIGHT
* EMOTION_ASPECT_KEEP_BOTH
* EMOTION_ASPECT_CROP
* EMOTION_ASPECT_CUSTOM
SVN revision: 63416
This is a simple API that implements colors for the borders specified by
emotion_object_border_set(), using a background rectangle behind the
emotion object.
SVN revision: 63415
The emotion_object_border_set/get APIs were added, allowing one to
specify a positive (border) or negative (crop) value for each of the
edjes of the video being played. This allows easier setup on an Emotion
object to keep the aspect ratio, either by adding black areas on it, or
by cropping the exceding area of the video.
NOTE: The specified border/crop is based on the original size of the
video. If it is scaled (emotion object size is different from the video
size), the borders will be scaled as well.
Patch based on an original patch sent by
Hugo Camboulive <hugo.camboulive@gmail.com>.
SVN revision: 63414
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
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
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
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
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