فهرست منبع

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 سال پیش
والد
کامیت
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
   {