mirror of
https://github.com/mpv-player/mpv
synced 2024-10-22 08:51:57 +02:00
support in dbgprintf for mp_msg (mplayer only)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3436 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
79ea05626f
commit
06d074ec96
@ -180,6 +180,18 @@ static inline void dbgprintf(char* fmt, ...)
|
||||
va_end(va);
|
||||
}
|
||||
#endif
|
||||
#ifdef USE_WIN32DLL
|
||||
#include "../mp_msg.h"
|
||||
{
|
||||
char buf[1024];
|
||||
va_list va;
|
||||
|
||||
va_start(va, fmt);
|
||||
vsnprintf((char *)&buf[0], 1023, fmt, va);
|
||||
mp_dbg(MSGT_WIN32, MSGL_DBG3, (char *)&buf[0]);
|
||||
va_end(va);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user