[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/media/

emcho at dev.java.net emcho at dev.java.net
Wed May 26 11:08:52 CEST 2004


User: emcho   
Date: 04/05/26 02:08:52

Modified:
 /sip-communicator/src/net/java/sip/communicator/media/
  MediaManager.java

Log:
 Ongoing work on simple

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/media/
=================================================================

File [changed]: MediaManager.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/media/MediaManager.java?r1=1.15&r2=1.16
Delta lines:  +16 -0
--------------------
--- MediaManager.java	26 Mar 2004 14:34:25 -0000	1.15
+++ MediaManager.java	26 May 2004 09:08:49 -0000	1.16
@@ -1272,6 +1272,22 @@
                                           getResourceAsStream(libjmutilFileStr);
                      File outFile = new File(destinationPathStr
                                              +File.separator + libjmutilFileStr);
+
+                     //Check if file is already there - Ben Asselstine
+                     if (outFile.exists()) {
+                         //if we're here then libjmutil is already where it should be
+                         // but yet we failed to load libjmv4l.
+                         //so notify log and bail out
+                         console.error(
+                             "An error occurred while trying to load JMF. This "
+                             +"error is probably due to a JMF installation problem. "
+                             +"Please copy libjmutil.so to a location contained by "
+                             + "$LD_LIBRARY_PATH and try again!",
+                             err);
+                         return;
+
+                     }
+
                      outFile.createNewFile();
 
                      console.debug("jmutil");




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net




More information about the commits mailing list