[vlc-devel] [PATCH] Extend libvlc Media Player API for DVD menu navigation
Rémi Denis-Courmont
remi at remlab.net
Wed Sep 8 22:40:59 CEST 2010
Nit picking...
On Wed, 8 Sep 2010 22:25:55 +0200, Arnaud Vallat <rno.rno at gmail.com>
wrote:
> +/**
> + * Navigate through DVD Menu
> + *
> + * \param p_mi the Media Player
> + * \param i_navigate the Navigation mode
> + */
The \version stanza is missing.
> +void libvlc_media_player_navigate( libvlc_media_player_t* p_mi,
> + int i_navigate )
'unsigned' would be simpler.
> +{
> + input_thread_t *p_input_thread;
> +
> + if ( i_navigate < 0 || i_navigate > libvlc_navigate_right)
> + return;
sizeof(libvlc_navigate_to_action) / sizeof(libvlc_navigate_to_action[0])
would reduce the chance of bugs if the enumeration is ever extended.
Best regards,
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list