libVLC_new plugin load failing

This forum is about all development around libVLC.
ccamporesi
New Cone
New Cone
Posts: 2
Joined: 26 Mar 2014 05:53

libVLC_new plugin load failing

Postby ccamporesi » 26 Mar 2014 06:12

Hello guys,
I am writing to report a weird issue that I encountered since I moved my code from libVLC 2.0.8 to 2.1.0 (and all the other following releases) under windows and visual studio.
Under linux everything still works correctly since I am compiling the library and plugins myself (and no DLLs LOL).
In my simple application I am basically creating a new context through lbvlc_new, loading a video and rendering it an embedded OGRE texture (nothing too special about this).
After I moved from 2.0.8 to 2.1.0 it seems that libvlc_new still loads all the plugins correctly but it unloads them without giving any specific reason.
Most of the DLLs are now displaying this error message '0xC0000139: Entry Point Not Found'.
Digging a little bit further I was able to isolate the fact that after 2.1.0 the plugins where compiled and released a little bit differently than before, in fact, if I link my application with the new libvlc 2.1.3 and I load the plugins' DLL from 2.0.8 everything still works correctly.
Any thought or suggestion?
Many thanks in advance
C

Lokesh
New Cone
New Cone
Posts: 6
Joined: 07 Apr 2014 14:43

Re: libVLC_new plugin load failing

Postby Lokesh » 09 Apr 2014 09:04

Yes ...I am also facing same issue.
After little analysis ...it looks like libvlc_new interface is replaced in VLC 2.1.x onward.

Any document/way to compare the old interface with new replaced interface would help inn migrating from VLC 2.0.X to VLC 2.1.x

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libVLC_new plugin load failing

Postby Jean-Baptiste Kempf » 22 Apr 2014 15:00

No, libvlc_new is still the right point of entry.
Are you sure the .lib file you use is the right one?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ccamporesi
New Cone
New Cone
Posts: 2
Joined: 26 Mar 2014 05:53

Re: libVLC_new plugin load failing

Postby ccamporesi » 28 Apr 2014 22:14

Hi Jean and Lokesh,
thanks for the reply. Yes I am linking against the right one (I am using CMake to create my projects with absolute paths).
I also double checked the environment vars and I only have vlc dlls in my run folder.
C


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests