ffmpeg | branch: master | Leo Izen <leo.i...@gmail.com> | Fri Jan 10 08:13:41 
2025 -0500| [f651ca3a6838be90e7d5189d831c9db8cb7e3ec8] | committer: Leo Izen

avutil/frame.h: improve documentation for AV_FRAME_FLAG_LOSSLESS

It should be more clear what this flag is indicating with a more
verbose comment documenting it.

Signed-off-by: Leo Izen <leo.i...@gmail.com>
Reviewed-by: Marton Balint <c...@passwd.hu>
Reviewed-by: Alexander Strasser <eclip...@gmx.net>
Reviewed-by: Marth64 <mart...@proxyid.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f651ca3a6838be90e7d5189d831c9db8cb7e3ec8
---

 libavutil/frame.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/libavutil/frame.h b/libavutil/frame.h
index c757d998fc..628f2b5b3a 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -666,7 +666,11 @@ typedef struct AVFrame {
  */
 #define AV_FRAME_FLAG_TOP_FIELD_FIRST (1 << 4)
 /**
- * A flag to mark frames which were encoded losslessly from the input.
+ * A decoder can use this flag to mark frames which were originally encoded 
losslessly.
+ *
+ * For coding bitstream formats which support both lossless and lossy
+ * encoding, it is sometimes possible for a decoder to determine which method
+ * was used when the bitsream was encoded.
  */
 #define AV_FRAME_FLAG_LOSSLESS        (1 << 5)
 /**

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to