From ca8b3f2344f1090c498ab805a97f63bc6dab5e27 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Mon, 6 Aug 2012 13:27:35 -0400
Subject: [PATCH] * #13814: video: use level 1.3 if none is given in SDP

---
 daemon/src/video/video_send_thread.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/src/video/video_send_thread.cpp b/daemon/src/video/video_send_thread.cpp
index 2a644aa448..0d541bbc57 100644
--- a/daemon/src/video/video_send_thread.cpp
+++ b/daemon/src/video/video_send_thread.cpp
@@ -129,7 +129,7 @@ extractProfileLevelID(const std::string &parameters, AVCodecContext *ctx)
     // If no profile-level-id is present, the Baseline Profile without
     // additional constraints at Level 1 MUST be implied.
     ctx->profile = FF_PROFILE_H264_BASELINE;
-    ctx->level = 0xa;
+    ctx->level = 0x0d;
     // ctx->level = 0x0d; // => 13 aka 1.3
     if (parameters.empty())
         return;
-- 
GitLab