On Tuesday 13 May 2008 01:55:24 Carsten Haitzler wrote:
> On Tue, 13 May 2008 00:43:29 +0200 raoul <[EMAIL PROTECTED]> babbled:
> > Hi,
> >
> > Here is a small patch that add 2 functions to set/get a default
> > Evas_Object in emotion, if there is no video. It's usefull when one don't
> > want to have a black (or any other color) screen if emotion failed to
> > open a stream. It works with an Evas_Object, so edje object could be used
> > for some eye candy animations :)
> >
> > Here is the patch:
> > http://www.calaos.fr/pub/emotion/patch_emotion_default_frame.diff
> >
> > and a small test app with an edje file:
> > http://www.calaos.fr/pub/emotion/test_emotion.c
> > http://www.calaos.fr/pub/emotion/logo.edj
> >
> > Any comments?
>
> hmm i'd say no. here's why: you now have an extra object to control,
> possibly destroy yourself or have emotion destroy as needed etc. etc. and
> that logic is going into emotion itself. i would say it'd be better to have
> callbacks (smart callbacks, just like there are ones for "frame_decode",
> "length_change", "frame_resize", "decode_stop", "playback_finished",
> "audio_level_change", "channels_change", "title_change", "progress_change",
> "ref_change", "button_num_change", "button_change".
>
> in fact - you don't need more signals. when you set play_set() to 1 -
> simple hide the emotion object or do whatever you want (display some image
> or edje in its place), then when you get the FIRST frame_decode callback
> after just starting play, show the emotion object (or begin to fade it in,
> or zoom it out or whatever you like!). so everything you need is already
> there :) no need to complicate emotion itself.
Hmm, you're right... Damn i wish i had thought about that earlier ;)


> > Regards,
> >
> > --
> > ------------------------
> > Raoul Hecky
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > enlightenment-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Raoul Hecky
Calaos

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to