[vlc-devel] [PATCH][SoC] Qt improvements

Lukas Durfina lukas.durfina at gmail.com
Sun Aug 31 13:09:27 CEST 2008


>
> diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h
> index 1aa0f2f..524c349 100644
> --- a/include/vlc/libvlc_events.h
> +++ b/include/vlc/libvlc_events.h
> @@ -66,6 +66,7 @@ typedef enum libvlc_event_type_t {
>      libvlc_MediaPlayerPositionChanged,
>      libvlc_MediaPlayerSeekableChanged,
>      libvlc_MediaPlayerPausableChanged,
> +    libvlc_MediaPlayerTitleChanged,
>     libvlc_MediaListItemAdded,
>      libvlc_MediaListWillAddItem,
>
> That would break the ABI. When extending enums, please use free slots.

sorry, I will repair


>
>
> +        aout_EnableFilter( ( vlc_object_t * ) p_aout->p_libvlc,
>
> Is there any reason why you do not use the VLC_OBJECT() macro? there are  
> many
> instance of this.

yes, I dont know it, I will repair that too

>
>
> +libvlc_filter_parameter_list_t *libvlc_filter_get_parameters(
> +              module_t *p_module,
> +              libvlc_exception_t *p_e )
>
> I don't mind using the "internal" libvlccore module_t pointers for  
> external
> libvlc users, so long as they're used as opaque data. However "module_t"
> looks too generic a name for use outside of libvlccore.
>

good point, I agree, that isnt good solution, I will change that

Thanks for review!





More information about the vlc-devel mailing list