Skip to content

Commit 4ad4052

Browse files
author
Clement Champetier
committed
Transcoder: rename private method manageInfinityStreamFromProcessMethod
... to manageSwitchToGenerator.
1 parent 3ff7f98 commit 4ad4052

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/AvTranscoder/transcoder/Transcoder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void Transcoder::process( IProgress& progress )
269269
if( _streamTranscoders.size() == 0 )
270270
throw std::runtime_error( "missing input streams in transcoder" );
271271

272-
manageInfinityStreamFromProcessMethod();
272+
manageSwitchToGenerator();
273273

274274
if( _verbose )
275275
std::cout << "begin transcoding" << std::endl;
@@ -504,7 +504,7 @@ double Transcoder::getOutputDuration() const
504504
}
505505
}
506506

507-
void Transcoder::manageInfinityStreamFromProcessMethod()
507+
void Transcoder::manageSwitchToGenerator()
508508
{
509509
for( size_t i = 0; i < _streamTranscoders.size(); ++i )
510510
{

src/AvTranscoder/transcoder/Transcoder.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ class AvExport Transcoder
170170
double getOutputDuration() const;
171171

172172
/**
173-
* @brief Set for each StreamTranscoder if it is an infinity stream (switch to generator at the end of the stream).
173+
* @brief Set for each StreamTranscoder if it can switch to generator at the end.
174174
*/
175-
void manageInfinityStreamFromProcessMethod();
175+
void manageSwitchToGenerator();
176176

177177
private:
178178
IOutputFile& _outputFile; ///< The output media file after process (has link)

0 commit comments

Comments
 (0)