Skip to content

Commit 1f12795

Browse files
author
Clement Champetier
committed
IEncoder: updated doc of encodeFrame methods
1 parent af03c26 commit 1f12795

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/AvTranscoder/encoder/IEncoder.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,18 @@ class AvExport IEncoder
2323

2424
/**
2525
* @brief Encode a new frame, and get coded frame
26-
* @param sourceFrame frame need to be encoded
27-
* @param codedFrame data of the coded frame if present (first frames can be delayed)
26+
* @param sourceFrame: frame that needs to be encoded
27+
* @param codedFrame: output encoded coded data (first frames can be delayed)
2828
* @return status of encoding
29+
* @throw runtime_error if the encoded process failed.
2930
*/
3031
virtual bool encodeFrame(const Frame& sourceFrame, CodedData& codedFrame) = 0;
3132

3233
/**
3334
* @brief Get delayed encoded frames
34-
* @param codedFrame data of the coded frame if present (first frames can be delayed)
35+
* @param codedFrame: output encoded coded data of last frames
3536
* @return status of encoding
37+
* @throw runtime_error if the encoded process failed.
3638
*/
3739
virtual bool encodeFrame(CodedData& codedFrame) = 0;
3840

0 commit comments

Comments
 (0)