Skip to content

Commit 152dd48

Browse files
committed
Merge pull request #149 from cchampet/dev_transcoderProcessWithoutArgument
Transcoder: can call process without argument
2 parents 469bcb2 + 01eec19 commit 152dd48

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/AvTranscoder/transcoder/Transcoder.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ bool Transcoder::processFrame()
224224
return true;
225225
}
226226

227+
void Transcoder::process()
228+
{
229+
NoDisplayProgress progress;
230+
process( progress );
231+
}
232+
227233
void Transcoder::process( IProgress& progress )
228234
{
229235
if( _streamTranscoders.size() == 0 )

src/AvTranscoder/transcoder/Transcoder.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class AvExport Transcoder
120120
* @see IProgress
121121
*/
122122
void process( IProgress& progress );
123+
void process(); ///< Call process with no display of progression
123124

124125
/**
125126
* @param streamIndex: careful about the order of stream insertion of the Transcoder.

0 commit comments

Comments
 (0)