From 76bfde2675f832ad389f8d83148cddb66c214f0e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 19 Jan 2016 14:46:59 -0500 Subject: [PATCH] fix merge conflicts --- MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs | 10 +++++----- MediaBrowser.Server.Mono/Native/BaseMonoApp.cs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs index d5645ce0e7..ba0790bf3b 100644 --- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs +++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs @@ -492,11 +492,11 @@ namespace MediaBrowser.MediaEncoding.Encoder if (isAudio) { - //if (imageStreamIndex.HasValue && imageStreamIndex.Value > 0) - //{ - // // It seems for audio files we need to subtract 1 (for the audio stream??) - // imageStreamIndex = imageStreamIndex.Value - 1; - //} + if (imageStreamIndex.HasValue && imageStreamIndex.Value > 0) + { + // It seems for audio files we need to subtract 1 (for the audio stream??) + imageStreamIndex = imageStreamIndex.Value - 1; + } } else { diff --git a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs index 8f3006e116..31d4592c8e 100644 --- a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs +++ b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs @@ -119,7 +119,7 @@ namespace MediaBrowser.Server.Mono.Native { get { - return Environment.OperatingSystem == Startup.Common.OperatingSystem.Linux; + return Environment.OperatingSystem != Startup.Common.OperatingSystem.Osx; } }