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

Alexey Sokolov alexey at asokolov.org
Mon Jul 30 14:26:52 CEST 2012

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.

Best regards,
Alexey "DarthGandalf" Sokolov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120730/e0ac366b/attachment.sig>

More information about the vlc-devel mailing list