mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-31 14:13:52 +01:00 
			
		
		
		
	2017-02-07 Fred Gleason <fredg@paravelsystems.com>
* Changed the DLL load target for libmad from 'libmad.so' to 'libmad.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'. * Changed the DLL load target for lame from 'libmp3lame.so' to 'libmp3lame.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'. * Changed the DLL load target for faad from 'libfaad.so' to 'libfaad.so.2' in 'cae/cae.cpp' and 'lib/rdmp4.cpp'. * Changed the DLL load target for mp4v2 from 'libmp4v2.so' to 'libmp4v2.so.2' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'.
This commit is contained in:
		| @@ -15551,3 +15551,12 @@ | ||||
| 	test harness to fail when using non-localhost URLs. | ||||
| 	* Fixed a bug in 'web/tests/editcart.js' that caused the EditCut | ||||
| 	test harness to fail when using non-localhost URLs. | ||||
| 2017-02-07 Fred Gleason <fredg@paravelsystems.com> | ||||
| 	* Changed the DLL load target for libmad from 'libmad.so' to | ||||
| 	'libmad.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'. | ||||
| 	* Changed the DLL load target for lame from 'libmp3lame.so' to | ||||
| 	'libmp3lame.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'. | ||||
| 	* Changed the DLL load target for faad from 'libfaad.so' to | ||||
| 	'libfaad.so.2' in 'cae/cae.cpp' and 'lib/rdmp4.cpp'. | ||||
| 	* Changed the DLL load target for mp4v2 from 'libmp4v2.so' to | ||||
| 	'libmp4v2.so.2' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'. | ||||
|   | ||||
							
								
								
									
										10
									
								
								cae/cae.cpp
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								cae/cae.cpp
									
									
									
									
									
								
							| @@ -2060,7 +2060,7 @@ void QApplication::saveState(QSessionManager &sm) { | ||||
| bool MainObject::CheckLame() | ||||
| { | ||||
| #ifdef HAVE_LAME | ||||
|   return dlopen("libmp3lame.so",RTLD_LAZY)!=NULL; | ||||
|   return dlopen("libmp3lame.so.0",RTLD_LAZY)!=NULL; | ||||
| #else | ||||
|   return false; | ||||
| #endif  // HAVE_LAME | ||||
| @@ -2070,8 +2070,8 @@ bool MainObject::CheckLame() | ||||
| bool MainObject::CheckMp4Decode() | ||||
| { | ||||
| #ifdef HAVE_MP4_LIBS | ||||
|   return (dlopen("libfaad.so",RTLD_LAZY)!=NULL)&& | ||||
|     (dlopen("libmp4v2.so",RTLD_LAZY)!=NULL); | ||||
|   return (dlopen("libfaad.so.2",RTLD_LAZY)!=NULL)&& | ||||
|     (dlopen("libmp4v2.so.2",RTLD_LAZY)!=NULL); | ||||
| #else | ||||
|   return false; | ||||
| #endif  // HAVE_MP4_LIBS | ||||
| @@ -2081,7 +2081,7 @@ bool MainObject::CheckMp4Decode() | ||||
| bool MainObject::LoadTwoLame() | ||||
| { | ||||
| #ifdef HAVE_TWOLAME | ||||
|   if((twolame_handle=dlopen("libtwolame.so",RTLD_NOW))==NULL) { | ||||
|   if((twolame_handle=dlopen("libtwolame.so.0",RTLD_NOW))==NULL) { | ||||
|     LogLine(RDConfig::LogInfo, | ||||
| 	 "TwoLAME encoder library not found, MPEG L2 encoding not supported"); | ||||
|     return false; | ||||
| @@ -2168,7 +2168,7 @@ void MainObject::FreeTwoLameEncoder(int card,int stream) | ||||
| bool MainObject::LoadMad() | ||||
| { | ||||
| #ifdef HAVE_MAD | ||||
|   if((mad_handle=dlopen("libmad.so",RTLD_NOW))==NULL) { | ||||
|   if((mad_handle=dlopen("libmad.so.0",RTLD_NOW))==NULL) { | ||||
|     LogLine(RDConfig::LogInfo, | ||||
| 	 "MAD decoder library not found, MPEG L2 decoding not supported"); | ||||
|     return false; | ||||
|   | ||||
| @@ -74,9 +74,9 @@ RDAudioConvert::RDAudioConvert(const QString &station_name,QObject *parent) | ||||
|   // | ||||
|   // Load MPEG Libraries | ||||
|   // | ||||
|   conv_mad_handle=dlopen("libmad.so",RTLD_LAZY); | ||||
|   conv_lame_handle=dlopen("libmp3lame.so",RTLD_LAZY); | ||||
|   conv_twolame_handle=dlopen("libtwolame.so",RTLD_LAZY); | ||||
|   conv_mad_handle=dlopen("libmad.so.0",RTLD_LAZY); | ||||
|   conv_lame_handle=dlopen("libmp3lame.so.0",RTLD_LAZY); | ||||
|   conv_twolame_handle=dlopen("libtwolame.so.0",RTLD_LAZY); | ||||
| } | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -64,8 +64,8 @@ bool DLMP4::load() | ||||
|   if(loadSuccess) | ||||
|     return true; | ||||
|  | ||||
|   neaac_handle = dlopen("libfaad.so",RTLD_LAZY); | ||||
|   mp4_handle = dlopen("libmp4v2.so",RTLD_LAZY); | ||||
|   neaac_handle = dlopen("libfaad.so.2",RTLD_LAZY); | ||||
|   mp4_handle = dlopen("libmp4v2.so.2",RTLD_LAZY); | ||||
|  | ||||
|   if(!neaac_handle || !mp4_handle) | ||||
|     return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user