mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
Merged 04bd883b65 from master
This commit is contained in:
1
cae/.gitignore
vendored
1
cae/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
caed
|
||||
16
cae/cae.cpp
16
cae/cae.cpp
@@ -2006,6 +2006,11 @@ void MainObject::ProbeCaps(RDStation *station)
|
||||
station->setHaveCapability(RDStation::HaveTwoLame,LoadTwoLame());
|
||||
station->setHaveCapability(RDStation::HaveMpg321,LoadMad());
|
||||
|
||||
//
|
||||
// MP4 Decoder
|
||||
//
|
||||
station->setHaveCapability(RDStation::HaveMp4Decode,CheckMp4Decode());
|
||||
|
||||
#ifdef HPI
|
||||
station->setDriverVersion(RDStation::Hpi,hpiVersion());
|
||||
#else
|
||||
@@ -2062,6 +2067,17 @@ bool MainObject::CheckLame()
|
||||
}
|
||||
|
||||
|
||||
bool MainObject::CheckMp4Decode()
|
||||
{
|
||||
#ifdef HAVE_MP4_LIBS
|
||||
return (dlopen("libfaad.so",RTLD_LAZY)!=NULL)&&
|
||||
(dlopen("libmp4v2.so",RTLD_LAZY)!=NULL);
|
||||
#else
|
||||
return false;
|
||||
#endif // HAVE_MP4_LIBS
|
||||
}
|
||||
|
||||
|
||||
bool MainObject::LoadTwoLame()
|
||||
{
|
||||
#ifdef HAVE_TWOLAME
|
||||
|
||||
Reference in New Issue
Block a user