Просмотр исходного кода

Do not force a specific subtitle charset prober

libmpv has autodetection by default, and it's not necessarily enca.
(uchardet is better.)
Vincent Lang 9 лет назад
Родитель
Сommit
556a0e63e3
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      src/player/PlayerComponent.cpp

+ 0 - 5
src/player/PlayerComponent.cpp

@@ -214,11 +214,6 @@ void PlayerComponent::queueMedia(const QString& url, const QVariantMap& options,
       extraArgs.insert("ff-sid", subtitleStream.mid(1));
     else
       extraArgs.insert("sub-file", subtitleStream);
-
-    // try guessing the codepage. We could pass a country code to enca to help
-    // it detect the correct one, but we don't get that from the server right now
-    //
-    extraArgs.insert("sub-codepage", "enca");
   }
   else
   {