Thursday, February 09, 2006


VLC : I have a cold but I have to write some program at work until this week X-< I am busy and tired this week but I was checking the UPnP module on MacOSX last week because I knew the problem from the comment of my blog.

I haven't been fixed the problem yet and the result is bellow using VLC v0.8.4a. According to the latest comment, I have to use the latest source tree because the UPnP module of v0.8.4a is not stable version.

I knew a new UPnP module based on Intel SDK, upnp_intel.cpp, is added last week from the comment, and the module name is renamed from upnp.cpp to upnp_cc.cpp.

$ cd vlc-0.8.4a
$ cd extras/contrib
$ ./bootstrap
$ make src
$ cd ../..
$ ./boostrap
$ ./configure --disable-x11 --disable-xvideo --disable-glx --disable-gtk
--enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac
--with-ffmpeg-zlib --enable-mad --enable-dvbpsi --enable-a52 --disable-dvdplay
--enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora
--enable-faac --enable-mkv --enable-freetype --disable-cddax --disable-vcdx
--enable-speex --enable-flac --enable-goom --enable-livedotcom --enable-caca
--disable-skins2 --disable-wxwidgets --enable-modplug --enable-daap --enable-x264
--enable-shout --enable-twolame --enable-release --enable-dts --disable-mkv
--with-cyberlink-tree=/Users/skonno/src/clinkcc --enable-cyberlink

$ cp vlc-config vlc-config.org
$ vi vlc-config
$ diff -r vlc-config.org vlc-config
275c275
< ldflags="${ldflags} /Users/skonno/src/clinkcc/lib/unix/libclink.a -lexpat"
---
> ldflags="${ldflags} /Users/skonno/src/clinkcc/lib/unix/libclink.a -lexpat -liconv"
$make

$cd /Users/skonno/Application/VLC.app/Contents/MacOS/modules
$cp /Users/skonno/src/vlc-0.8.4a/modules/services_discovery/libupnp_plugin.dylib .

$cd /Users/skonno/Application/VLC.app/Contents/MacOS/
$gdb VLC
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000c
[Switching to process 26361 thread 0x6203]
0x03968fe8 in UPnPHandler::deviceSearchResponseReceived ()
(gdb) where
#0 0x03968fe8 in UPnPHandler::deviceSearchResponseReceived ()
#1 0x0396d438 in CyberLink::ControlPoint::performSearchResponseListener
(this=0xf0509c88, ssdpPacket=0x64616ec)
at ../../src/cybergarage/upnp/ControlPoint.cpp:279
#2 0x03992750 in CyberLink::SSDPSearchResponseSocket::run (this=0x64616d0)
at ../../src/cybergarage/upnp/ssdp/SSDPSearchResponseSocket.cpp:54
#3 0x03993a7c in PosixThreadProc (param=0xf0509c88)
at ../../src/cybergarage/util/Thread.cpp:72
#4 0x9002b200 in _pthread_body ()

Comments:
Good design!
[url=http://ovqmudok.com/qxng/vlvl.html]My homepage[/url] | [url=http://apktewyy.com/tjfi/sonr.html]Cool site[/url]
 
Nice site!
My homepage | Please visit
 
Well done!
http://ovqmudok.com/qxng/vlvl.html | http://rpxpmqrt.com/orbv/lvjd.html
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?