Skip to content
Snippets Groups Projects
Commit ca8b3f23 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #13814: video: use level 1.3 if none is given in SDP

parent a8fdea1e
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ extractProfileLevelID(const std::string &parameters, AVCodecContext *ctx) ...@@ -129,7 +129,7 @@ extractProfileLevelID(const std::string &parameters, AVCodecContext *ctx)
// If no profile-level-id is present, the Baseline Profile without // If no profile-level-id is present, the Baseline Profile without
// additional constraints at Level 1 MUST be implied. // additional constraints at Level 1 MUST be implied.
ctx->profile = FF_PROFILE_H264_BASELINE; ctx->profile = FF_PROFILE_H264_BASELINE;
ctx->level = 0xa; ctx->level = 0x0d;
// ctx->level = 0x0d; // => 13 aka 1.3 // ctx->level = 0x0d; // => 13 aka 1.3
if (parameters.empty()) if (parameters.empty())
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment