Skip to content

Commit 2e5d6a2

Browse files
committed
StreamTranscoder: fix offset support on waiting for data to wrap
1 parent a827ec6 commit 2e5d6a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AvTranscoder/transcoder/StreamTranscoder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ bool StreamTranscoder::processRewrap()
400400
return true;
401401
case IOutputStream::eWrappingWaitingForData:
402402
// the wrapper needs more data to write the current packet
403-
return processRewrap();
403+
return processFrame();
404404
case IOutputStream::eWrappingError:
405405
return false;
406406
}
@@ -458,7 +458,7 @@ bool StreamTranscoder::processTranscode( const int subStreamIndex )
458458
return true;
459459
case IOutputStream::eWrappingWaitingForData:
460460
// the wrapper needs more data to write the current packet
461-
return processTranscode( subStreamIndex );
461+
return processFrame();
462462
case IOutputStream::eWrappingError:
463463
return false;
464464
}

0 commit comments

Comments
 (0)