Commit ff241764 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/CAS: add MKV to the black list for HTTP streaming

parent 514be08c
...@@ -276,7 +276,7 @@ static VLCConvertAndSave *_o_sharedInstance = nil; ...@@ -276,7 +276,7 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
if (b_streaming) { if (b_streaming) {
if ([[[_stream_type_pop selectedItem] title] isEqualToString:@"HTTP"]) { if ([[[_stream_type_pop selectedItem] title] isEqualToString:@"HTTP"]) {
NSString *muxformat = [self.currentProfile objectAtIndex:0]; NSString *muxformat = [self.currentProfile objectAtIndex:0];
if ([muxformat isEqualToString:@"wav"] || [muxformat isEqualToString:@"mov"] || [muxformat isEqualToString:@"mp4"]) { if ([muxformat isEqualToString:@"wav"] || [muxformat isEqualToString:@"mov"] || [muxformat isEqualToString:@"mp4"] || [muxformat isEqualToString:@"mkv"]) {
NSBeginInformationalAlertSheet(_NS("Invalid container format for HTTP streaming"), _NS("OK"), @"", @"", _window, NSBeginInformationalAlertSheet(_NS("Invalid container format for HTTP streaming"), _NS("OK"), @"", @"", _window,
nil, nil, nil, nil, @"%@", nil, nil, nil, nil, @"%@",
_NS("Media encapsulated as %@ cannot be streamed through the HTTP protocol for technical reasons."), _NS("Media encapsulated as %@ cannot be streamed through the HTTP protocol for technical reasons."),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment