Browse Source

added stream copy options

Luke Pulverenti 12 years ago
parent
commit
1a2ff21b44

+ 1 - 1
MediaBrowser.Api/Playback/BaseStreamingService.cs

@@ -817,7 +817,7 @@ namespace MediaBrowser.Api.Playback
                 return VideoCodecs.H264;
                 return VideoCodecs.H264;
             }
             }
 
 
-            return null;
+            return VideoCodecs.Copy;
         }
         }
     }
     }
 }
 }

+ 10 - 2
MediaBrowser.Model/Dto/StreamOptions.cs

@@ -155,7 +155,11 @@
         /// <summary>
         /// <summary>
         /// The wma
         /// The wma
         /// </summary>
         /// </summary>
-        Wma
+        Wma,
+        /// <summary>
+        /// The copy
+        /// </summary>
+        Copy
     }
     }
 
 
     /// <summary>
     /// <summary>
@@ -188,6 +192,10 @@
         /// <summary>
         /// <summary>
         /// The WMV
         /// The WMV
         /// </summary>
         /// </summary>
-        Wmv
+        Wmv,
+        /// <summary>
+        /// The copy
+        /// </summary>
+        Copy
     }
     }
 }
 }