We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ac191 commit f60840eCopy full SHA for f60840e
src/AvTranscoder/properties/VideoProperties.cpp
@@ -43,9 +43,6 @@ std::string VideoProperties::getProfileName() const
43
if(_codec->capabilities & CODEC_CAP_TRUNCATED)
44
_codecContext->flags |= CODEC_FLAG_TRUNCATED;
45
46
- if(_codecContext->profile == -99)
47
- throw std::runtime_error("unknown codec profile");
48
-
49
const char* profile = NULL;
50
if((profile = av_get_profile_name(_codec, getProfile())) == NULL)
51
throw std::runtime_error("unknown codec profile");
0 commit comments