[vlc-devel] [PATCH] Add new functions to libvlc to enable recording of the current media.

Rémi Denis-Courmont remi at remlab.net
Mon Jul 30 14:51:00 CEST 2012


Le lundi 30 juillet 2012 15:26:52 Alexey Sokolov, vous avez écrit :
> 30.07.2012 15:04, Rémi Denis-Courmont пишет:
> > + * \return true if the media player can record, false if it can not
> > +LIBVLC_API int libvlc_media_player_is_recordable( libvlc_media_player_t
> > *p_mi ); +
> > 
> > + * \return true if recording, false if not
> > +LIBVLC_API int libvlc_media_player_get_record( libvlc_media_player_t
> > *p_mi ); +
> > 
> >> No!!!!!!!!! VLC returns negative on error and 0 on success. Please
> >> don't mix C- and C++-style error reporting.
> 
> For errors sure. But "true"/"false" doesn't look like an error for me.

Ok, *if* there is no error case.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list