charonn0 / RB-libvlc

A Realbasic and Xojo binding to libvlc
http://www.boredomsoft.org/rb-libvlc.bs
BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

VLCLog parameters are not interpreted correctly #1

Closed charonn0 closed 3 years ago

charonn0 commented 8 years ago

The VLCInstance.VLCLog event is defined as follows:

Event Sub VLCLog(Level As Integer, Context As Ptr, Format As String, Args As String)

Format and Args are supposed to be passed to a printf-like function, but printf is variadic and Args is a var_args structure of variable composition. The practical upshot is that Args is not properly processed, and the replacement tokens in Format are untouched.

charonn0 commented 3 years ago

Logging related code was removed in commit da6e5f45ab169d80a819dbb2c5244d6fffd7063e.