File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/AvTranscoder/transcoder Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -464,12 +464,16 @@ bool StreamTranscoder::processTranscode( const int subStreamIndex )
464
464
465
465
void StreamTranscoder::switchToGeneratorDecoder ()
466
466
{
467
+ LOG_INFO ( " Switch to generator decoder" )
468
+
467
469
_currentDecoder = _generator;
468
470
assert ( _currentDecoder != NULL );
469
471
}
470
472
471
473
void StreamTranscoder::switchToInputDecoder ()
472
474
{
475
+ LOG_INFO ( " Switch to input decoder" )
476
+
473
477
_currentDecoder = _inputDecoder;
474
478
assert ( _currentDecoder != NULL );
475
479
}
Original file line number Diff line number Diff line change @@ -199,7 +199,6 @@ void Transcoder::preProcessCodecLatency()
199
199
{
200
200
for ( size_t streamIndex = 0 ; streamIndex < _streamTranscoders.size (); ++streamIndex )
201
201
{
202
- std::stringstream os;
203
202
LOG_DEBUG ( " Init stream " << streamIndex )
204
203
_streamTranscoders.at ( streamIndex )->preProcessCodecLatency ();
205
204
}
@@ -244,8 +243,8 @@ void Transcoder::process( IProgress& progress )
244
243
preProcessCodecLatency ();
245
244
246
245
double outputDuration = getOutputDuration ();
246
+ LOG_DEBUG ( " Output duration of the process will be " << outputDuration )
247
247
248
- std::stringstream os;
249
248
size_t frame = 0 ;
250
249
bool frameProcessed = true ;
251
250
while ( frameProcessed )
You can’t perform that action at this time.
0 commit comments