Jason Tackaberry wrote:
> It would be better form to handle the exception, though.  But since
> Player.open() is itself a coroutine, it returns an InProgress, so this
> should work too, and might be easier:
>
>    self.player.open(fname).connect(lambda dummy: self.player.play())

That would not handle an exception.

> Anyway, we do have some work to do on popcorn.  Especially the whole
> properties stuff.  You had some opinions on popcorn's direction, did
> you not?

We need a plan what we want to do with kaa.popcorn. What should be
possible to be set on the API. The properties code was a first try to
make it happen. The main problem is that you have to set some
parameter before playback and some while playing. It is very
confusing. It is a generic wrapper, so what should we allow to set? I
see the following properties:

| # settings that are set global is most cases
| 'postprocessing': config.video.postprocessing,
| 'software-scaler': config.video.software_scaler,

To take default values from the config is fine and changing it or a
specific stream sounds like a good idea.

| 'deinterlace': 'auto',
| 'audio-track': None,
| 'audio-filename': None,
| 'subtitle-track': None,
| 'subtitle-filename': None,

IMHO all needed

| # Sets the audio delay relative to the video.  A positive
| # value causes audio to come later, while a negative value
| # plays the audio before.
| 'audio-delay': 0.0,

Advanced option but maybe needed, I don't know.

| # scale method. One of SCALE_METHODS
| 'scale': SCALE_KEEP,

Code broken but needed. This is a must have!

| # zoom into the movie
| 'zoom': 100,
| # pre-caching, use 'auto' for defaults based on filetype / schema
| 'cache' : 'auto'

WTF is that?


> I seem to recall that opinion involving greatly simplifying (or
> removing) the state engine.

The state engine now uses coroutines, it _should_ be safe to remove
the state decorator. But it _could_ break code depending on it.


Dischi

-- 
I feel like a genocidal maniac when emacs asks me if I want to kill
10789 characters.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to