浏览代码

possible windows phone video fix

LukePulverenti 12 年之前
父节点
当前提交
893093a64a
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      MediaBrowser.Api/Playback/Progressive/VideoService.cs

+ 5 - 0
MediaBrowser.Api/Playback/Progressive/VideoService.cs

@@ -124,6 +124,11 @@ namespace MediaBrowser.Api.Playback.Progressive
                 args += " -bsf h264_mp4toannexb";
             }
 
+            if (string.Equals("wmv2", videoCodec))
+            {
+                args += " -f asf";
+            }
+
             return args;
         }