Thanks. Was able to compile, but failed on the packaging step:
Code: Select all
for i in vlc.xcodeproj Resources README.MacOSX.rtf ; do \
cp -R ./extras/package/macosx/$i ./tmp/extras/package/macosx/; \
done
REVISION=`git describe --always` && \
cat ./extras/package/macosx/Info.plist | \
sed "s/#REVISION#/$REVISION/g" > ./tmp/extras/package/macosx/Info.plist
fatal: Not a git repository (or any of the parent directories): .git
make: *** [VLC-release.app] Error 128
Why do we need to compile from sources?
We have written an interface module that turns VLC into a media playback service (ala the VLC telnet interface). The service manages things like playback, volume control, etc. For the most part, it acts as a "pass through" from our media player GUI to VLC. We have also made a few minor mods to VLC to support our rich media packaging technology (see
http://www.pypeline.com) and to manage video windows.
All works well on Windows, but we have issues with the Mac port, mainly with management of video windows. So far, we have been building VLC 0.9.x on Leopard. Silly us
, we decided to move our development to Snow Leopard.
So, it seems like we either revert to Leopard and VLC 0.9.9, or move forward to VLC 1.0.5 where we need to identify the coding differences between 0.9 and 1.0. As an example, the following code works for 0.9.9, built on Leopard, but doesn't seem to work with 1.0.5 built on Snow Leopard (we don't get audio or video output.
Code: Select all
void VLCPtr::Play(const wxString &idName, wxInt32 timeout_ms)
{
// ___ Make sure nothing else is playing
WaitStop(timeout_ms);
// remove EP3 variables
wxASSERT(m_pPlayList != NULL);
RemoveEP3Variables(m_pPlayList);
// ___ Play it
#ifdef __VLC_0_8_6c__
playlist_LockClear(m_pPlayList);
playlist_Add(m_pPlayList, idName.c_str(), NULL, PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END);
#else
playlist_Clear(m_pPlayList, false);
playlist_Add(m_pPlayList, idName.utf8_str(), NULL, PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END, true, false);
#endif
// this shouldn't be necessary if PLAYLIST_GO flag is set
//playlist_Play(m_pPlayList);
playlist_Next(m_pPlayList);
}