Pārlūkot izejas kodu

CodecsComponent: harmonize codec paths with PMS

Use the same conventions as PMS for the codec filenames etc. (Still
uses its own private codecs dir, though.)
Vincent Lang 8 gadi atpakaļ
vecāks
revīzija
f6b249b063
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/player/CodecsComponent.cpp

+ 2 - 2
src/player/CodecsComponent.cpp

@@ -126,7 +126,7 @@ static QString codecsRootPath()
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 static QString codecsPath()
 {
-  return codecsRootPath() + "pmp-" + getBuildType() + "-" + g_codecVersion + QDir::separator();
+  return codecsRootPath() + g_codecVersion + "-" + getBuildType() + QDir::separator();
 }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -206,7 +206,7 @@ QString CodecDriver::getMangledName() const
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 QString CodecDriver::getFileName() const
 {
-  return SHLIB_PREFIX + getMangledName() + "-" + g_codecVersion + "-" + getBuildType() + "." + SHLIB_EXTENSION;
+  return SHLIB_PREFIX + getMangledName() + "." + SHLIB_EXTENSION;
 }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////