Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit33253f7

Browse files
committed
EWrappingStatus: introduce new eWrappingSkip possible value
1 parent8cc0912 commit33253f7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎src/AvTranscoder/file/OutputFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ bool OutputFile::beginWrap()
188188
IOutputStream::EWrappingStatusOutputFile::wrap(const CodedData& data,constsize_t streamIndex)
189189
{
190190
if(!data.getSize())
191-
return IOutputStream::eWrappingSuccess;
191+
return IOutputStream::eWrappingSkip;
192192

193193
LOG_DEBUG("Wrap on stream" << streamIndex <<" (" << data.getSize() <<" bytes for frame"
194194
<< _frameCount.at(streamIndex) <<")")

‎src/AvTranscoder/stream/IOutputStream.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ class AvExport IOutputStream
1616
**/
1717
enum EWrappingStatus
1818
{
19-
eWrappingSuccess =0,
20-
eWrappingWaitingForData,
21-
eWrappingError,
19+
eWrappingSuccess =0,///< The wrapping succeeded
20+
eWrappingWaitingForData,///< The wrapper expects more data to complete the writing process
21+
eWrappingSkip,///< The wrapper receives empty data, so nothing is written
22+
eWrappingError,///< An error occurred during the wrapping process
2223
};
2324

2425
virtual~IOutputStream(){};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp