Explorar el Código

update FlagsTostring

Luke Pulverenti hace 11 años
padre
commit
b25d8b506b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      MediaBrowser.Model/Dlna/ContentFeatureBuilder.cs

+ 2 - 2
MediaBrowser.Model/Dlna/ContentFeatureBuilder.cs

@@ -138,8 +138,8 @@ namespace MediaBrowser.Model.Dlna
                 //flagValue = flagValue | DlnaFlags.DLNA_ORG_FLAG_TIME_BASED_SEEK;
             }
 
-            var dlnaflags = string.Format(";DLNA.ORG_FLAGS={0}000000000000000000000000",
-             Enum.Format(typeof(DlnaFlags), flagValue, "x"));
+            var dlnaflags = string.Format(";DLNA.ORG_FLAGS={0}",
+             FlagsToString(flagValue));
 
             var mediaProfile = _profile.GetVideoMediaProfile(container,
                 audioCodec,