Sfoglia il codice sorgente

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 anni fa
parent
commit
f6b249b063
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;
 }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////