Page 1 of 1

libvlc: DVD-Navigation

Posted: 07 Sep 2009 23:51
by Septic
Hi!

Is there any way to navigate the DVD-Menu from my program?

i've found the __var_set function in libvlccore - but i don't know what to do with it, or if it is supported or whatever

do i have to enable it with command-line parameters or is there any other trick?!

thanks!

Re: libvlc: DVD-Navigation

Posted: 08 Sep 2009 21:00
by Rémi Denis-Courmont
DVD navigation is enabled automatically.

Re: libvlc: DVD-Navigation

Posted: 09 Sep 2009 14:33
by Mongrel
If you want to control the DVD navigation programmatically you have to use the __var_set function. I've done it, but I'm at work right now, so I can't check my code. Will post again when I'm at home.

Re: libvlc: DVD-Navigation

Posted: 09 Sep 2009 14:49
by Septic
how to call the __var_set and with which pointer (mediaplayer / libvlc / etc) would be a great help

Re: libvlc: DVD-Navigation

Posted: 11 Oct 2011 14:19
by malcom2073
I figured I'd bring this back up, since __var_set is unusable now due to libvlc_get_instance() no longer being accessable (viewtopic.php?f=32&t=73100). I've yet to get a straight answer from the people on vlc's irc channel, so I wanted to ask here: Is DVD playing officially broken in 1.1? Or is there some method that I'm not seeing for DVD menu navigation?

Re: libvlc: DVD-Navigation

Posted: 11 Oct 2011 14:25
by Rémi Denis-Courmont
DVD navigation is supported in LibVLC 1.2 with the dedicated API. If you want it in an older version, you'll need to hack the code.

Re: libvlc: DVD-Navigation

Posted: 11 Oct 2011 14:27
by malcom2073
DVD navigation is supported in LibVLC 1.2 with the dedicated API. If you want it in an older version, you'll need to hack the code.
Gotcha, that was precicely the answer I was looking for. I'll find another solution until 1.2 comes out then. Thanks!