LibVLC 2 filename unicode error
Posted: 24 Apr 2012 16:15
Hello.
Before upgrade libvlx 1.x to 2.x I was using Video mrl such as UTF8.GETBYTES(mrl_link) before send to libvlc. This is working good with unicode files.
DLL define is below
After upgraded to Libvlc 2.x If my filename has no unicode characters, working good . But filename has unicode characters doesn't working.
Is there anybody can help me please?
Besat regards.
Before upgrade libvlx 1.x to 2.x I was using Video mrl such as UTF8.GETBYTES(mrl_link) before send to libvlc. This is working good with unicode files.
DLL define is below
Code: Select all
[DllImport("libvlc"), CallingConvention:=CallingConvention.Cdecl]
internal static extern IntPtr libvlc_media_new(IntPtr p_instance, [MarshalAs(UnmanagedType.LPArray)] byte[] psz_mrl, ref libvlc_exception_t p_exception);
Is there anybody can help me please?
Besat regards.