File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ bool OutputFile::beginWrap()
188
188
IOutputStream::EWrappingStatus OutputFile::wrap (const CodedData& data, const size_t streamIndex)
189
189
{
190
190
if (!data.getSize ())
191
- return IOutputStream::eWrappingSuccess ;
191
+ return IOutputStream::eWrappingSkip ;
192
192
193
193
LOG_DEBUG (" Wrap on stream " << streamIndex << " (" << data.getSize () << " bytes for frame "
194
194
<< _frameCount.at (streamIndex) << " )" )
Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ class AvExport IOutputStream
16
16
**/
17
17
enum EWrappingStatus
18
18
{
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
22
23
};
23
24
24
25
virtual ~IOutputStream (){};
You can’t perform that action at this time.
0 commit comments