Skip to content

Commit 50befa1

Browse files
author
Clement Champetier
committed
StreamTranscoder: remove check of profile
This is done in ProfileLoader.
1 parent 8d478d4 commit 50befa1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/AvTranscoder/transcoder/StreamTranscoder.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ StreamTranscoder::StreamTranscoder(
183183
, _offsetPassed( false )
184184
, _infinityStream( false )
185185
{
186-
// create a coding case based on a InputEssence (aka generator)
187-
if( ! profile.count( constants::avProfileType ) )
188-
throw std::runtime_error( "unable to found stream type (audio, video, etc.)" );
189-
190186
if( profile.find( constants::avProfileType )->second == constants::avProfileTypeVideo )
191187
{
192188
// Create input essence based on a given input VideoCodec

0 commit comments

Comments
 (0)