Page 1 of 1

Rotation in multiple libvlc:s

Posted: 10 Jul 2007 16:20
by fred.hild
Hello
I am building a small program upon the libvlc which has more than one instance of libvlc (want to display more than one video at a time).
When Im trying to rotate one of the videos (with the __config_PutPsz(vlc.SubObject, name, value) ) both of them are affected and are rotated.
Why is this? Is it this way that vlc is built?

I have found out that if I wait a moment between i sets the values only the specified video is affected.
The problem is I dont know what to wait for. It seems to me that vlc sets its variables and then sends
them away to another thread to do the actuall changes. This is a problem to because then I newer know
if the changes is made yet or not.

Gratefull for any help
/ Fredrik

Re: Rotation in multiple libvlc:s

Posted: 10 Jul 2007 17:32
by dionoea
What VLC version are you using?
Are you changing the config var before or after the video was started?

(Note that this would be easy to fix if you were using 0.9.0 ... but that's not stable yet so I doubt that you're using it)

Re: Rotation in multiple libvlc:s

Posted: 11 Jul 2007 08:46
by fred.hild
Im using 0.8.6c.
Im changing the config var before I start the video.
Otherwise i wont get it to work at all.

Is 0.9.0 generally unstable but only unstable in some areas?

Re: Rotation in multiple libvlc:s

Posted: 11 Jul 2007 11:30
by dionoea
If you're changing the configuration it's expected that it'll impact other libvlcs launched afterwards.

0.9.0 would help if you're using the rotate module, it wouldn't really change much if you're using the transform module.
And it's pretty stable, if you don't use the new Qt interface :)

Re: Rotation in multiple libvlc:s

Posted: 11 Jul 2007 12:06
by fred.hild
Thanks for the answer.

Am I right in that the rotate module only works in 0.9.0?
And its command is --rotate-angle?

I think I will take a look at 0.9.0s libvlc.

How long is it before 0.9.0m becomes stable?