开发者

Creating DVD navigation using VLC versoin 1.1.4

开发者 https://www.devze.com 2023-01-22 13:53 出处:网络
I have been developing a DVD player using vlc version 1.1.1 libraries and have recently upgraded to version 1.1.4.Previously I have been getting the current vlc_object_t by using libvlc_get_vlc_instan

I have been developing a DVD player using vlc version 1.1.1 libraries and have recently upgraded to version 1.1.4. Previously I have been getting the current vlc_object_t by using libvlc_get_vlc_instance and then using the object, along with the relevant key information, in s开发者_如何学运维ubsequent calls to __var_SetInteger.

This method worked fine for version 1.1.1 but in version 1.1.4 libvlc_get_vlc_instance no longer exists. Does anyone know of the replacement method or of another way to handle DVD menu navigation?


VLC_PUBLIC_API void libvlc_media_player_navigate(libvlc_media_player_t* p_mi, unsigned navigate);

is the new DVD menu navigation method. It is within the libvlc_media_player header. However, To my knowledge it has only been implemented in version 1.2 which is still in development. It is available from the VideoLan nightly builds website if you're feeling brave.

var_SetInteger(vlc_object_t *p_obj, const char *psz_name, int64_t i)

is still implemented in the vlc_variables header but vlc_object_t is no longer easily accessible as they have removed libvlc_get_vlc_instance as it was apparently a "hack"

Remove libvlc_get_vlc_instance hack from libvlc http://mailman.videolan.org/pipermail/vlc-devel/2010-January/072219.html

If anyone knows any differently please let me know.

0

精彩评论

暂无评论...
验证码 换一张
取 消