Bladeren bron

fixed double commas with audio params

Luke Pulverenti 12 jaren geleden
bovenliggende
commit
2bdd9cc1f2

+ 1 - 1
MediaBrowser.Api/Playback/Hls/VideoHlsService.cs

@@ -92,7 +92,7 @@ namespace MediaBrowser.Api.Playback.Hls
                     volParam = ",volume=2.000000";
                 }
                 
-                args += string.Format(" -af \"aresample=async=1000,{0}\"", volParam);
+                args += string.Format(" -af \"aresample=async=1000{0}\"", volParam);
 
                 return args;
             }

+ 1 - 1
MediaBrowser.Api/Playback/Progressive/VideoService.cs

@@ -217,7 +217,7 @@ namespace MediaBrowser.Api.Playback.Progressive
                 volParam = ",volume=2.000000";
             }
 
-            args += string.Format(" -af \"aresample=async=1000,{0}\"", volParam);
+            args += string.Format(" -af \"aresample=async=1000{0}\"", volParam);
 
             return args;
         }