[vlc-devel] commit: var *Bool return a boolean. ( Rémi Duraffort )
Laurent Aimar
fenrir at via.ecp.fr
Tue Jan 27 11:18:16 CET 2009
On Tue, Jan 27, 2009, Rémi Denis wrote:
> It did work.
How ?
var_GetBool could only return a value casted as a boolean either from a successfull
var_Get or false otherwise.
If a value that are not true or false want to be used then you must use an integer
instead of a bool variable (the problem has already been raised during dirac
encoder integration...)
If you wan to detect the presence of such variable, var_GetBool is not the suitable
function as in this case it returns false (as it has always done).
--
fenrir
More information about the vlc-devel
mailing list