Skip to content
Browse files

fix incorrect logging when using static ffmpeg

  • Loading branch information...
1 parent 4a3b3fc commit b19ffb930747c860c5447bf34cf28343ff451d82 @wsnipex wsnipex committed Apr 11, 2014
Showing with 3 additions and 1 deletion.
  1. +1 −1 lib/DllAvFilter.h
  2. +2 −0 lib/DllPostProc.h
View
2 lib/DllAvFilter.h
@@ -174,7 +174,7 @@ class DllAvFilter : public DllDynamic, DllAvFilterInterface
// DLL faking.
virtual bool ResolveExports() { return true; }
virtual bool Load() {
-#if !defined(TARGET_DARWIN)
+#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
CLog::Log(LOGDEBUG, "DllAvFilter: Using libavfilter system library");
#endif
return true;
View
2 lib/DllPostProc.h
@@ -97,7 +97,9 @@ class DllPostProc : public DllDynamic, DllPostProcInterface
// DLL faking.
virtual bool ResolveExports() { return true; }
virtual bool Load() {
+#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
CLog::Log(LOGDEBUG, "DllPostProc: Using libpostproc system library");
+#endif
return true;
}
virtual void Unload() {}

0 comments on commit b19ffb9

Please sign in to comment.
Something went wrong with that request. Please try again.