The Free Software Media System - Server Backend & API
add audio sync to recordings
Luke Pulverentife0f3e28a0d2
diff --git a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.csindex 5f4d32732e..38f35f4cc6 100644--- a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs+++ b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs@@ -116,7 +116,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTVvideoArgs = "-codec:v:0 copy";}- var commandLineArgs = "-fflags +genpts -i \"{0}\" -sn {2} -map_metadata -1 -threads 0 {3} -y \"{1}\"";+ var commandLineArgs = "-fflags +genpts -async 1 -vsync -1 -i \"{0}\" -sn {2} -map_metadata -1 -threads 0 {3} -y \"{1}\"";if (mediaSource.ReadAtNativeFramerate){