浏览代码

fix video sync error

Luke Pulverenti 9 年之前
父节点
当前提交
2d6954f520
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.MediaEncoding/Encoder/VideoEncoder.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Encoder/VideoEncoder.cs

@@ -94,7 +94,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
             // Add resolution params, if specified
             if (!hasGraphicalSubs)
             {
-                args += GetOutputSizeParam(state, videoCodec);
+                args += await GetOutputSizeParam(state, videoCodec).ConfigureAwait(false);
             }
 
             var qualityParam = GetVideoQualityParam(state, videoCodec);