File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/AvTranscoder/transcoder Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -252,21 +252,26 @@ ProcessStat Transcoder::process( IProgress& progress )
252
252
253
253
// check if JobStatusCancel
254
254
if ( progress.progress ( ( progressDuration > outputDuration ) ? outputDuration : progressDuration, outputDuration ) == eJobStatusCancel )
255
+ {
256
+ LOG_INFO ( " End of process because the job was canceled." )
255
257
break ;
258
+ }
256
259
257
260
// check progressDuration
258
261
if ( progressDuration >= outputDuration )
262
+ {
263
+ LOG_INFO ( " End of process because the output program duration (" << progressDuration << " s) is equal or upper than " << outputDuration << " s." )
259
264
break ;
265
+ }
260
266
261
267
LOG_DEBUG ( " Process frame " << frame )
262
268
frameProcessed = processFrame ();
263
-
264
269
++frame;
265
270
}
266
271
267
272
_outputFile.endWrap ();
268
273
269
- LOG_INFO ( " End of process" )
274
+ LOG_INFO ( " End of process: " << frame << " frames processed " )
270
275
271
276
LOG_INFO ( " Get process statistics" )
272
277
ProcessStat processStat;
You can’t perform that action at this time.
0 commit comments