ADD NEW module to LC

This forum is about all development around libVLC.
liyake825
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Jul 2012 04:42

ADD NEW module to LC

Postby liyake825 » 23 Aug 2012 05:43

HEllo every body.
I am trying to add a new decoder module into the VLC1.1.12. Since i have red the hacking"hoe to write a module ".I finish mymodule.c and creat the mymodule.a library, then,i put these files and some head files in the right place.
But i am confused about the language to be used in module.am and configure.ac.How could i link my mymodule.a library and add my module in VLC?

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: ADD NEW module to LC

Postby Jean-Baptiste Kempf » 23 Aug 2012 22:04

Modify Modules.am by copying another module. Then, it should just work.
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.

liyake825
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Jul 2012 04:42

Re: ADD NEW module to LC

Postby liyake825 » 30 Aug 2012 10:46

Modify Modules.am by copying another module. Then, it should just work.
THANK you for replay!
yes, i have modified this file module.am by adding SOURCES_xxx = xxx.c
and the file configure.ac :
dnl
dnl Libxxx plugin
dnl
PKG_ENABLE_MODULES_VLC([LIBxxx], [], [libxxx], [libxxx decoder support], [auto])
i don't know whether it can link the library (libxxx.a).
but i have got a dll when i finished the compiling .

am i right?

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: ADD NEW module to LC

Postby Jean-Baptiste Kempf » 30 Aug 2012 17:21

If you haev the dll, then you are fine, no?
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.

liyake825
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Jul 2012 04:42

Re: ADD NEW module to LC

Postby liyake825 » 31 Aug 2012 14:44

If you haev the dll, then you are fine, no?
Oh thank you ! i got it.

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: ADD NEW module to LC

Postby Jean-Baptiste Kempf » 07 Sep 2012 18:18

Cool.
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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests