History

avcodec/h264dec: More elaborate documentation for frame_recovered

Michael Niedermayer committed 3 years ago

Commit e4337601 parent 68e1cf21 file · +11 −1Browse files

Unified · Split

libavcodec/h264dec.h+11−1
@@ -524,7 +524,17 @@ typedef struct H264Context { · 523 unmodified lines
524524 */
525525 #define FRAME_RECOVERED_HEURISTIC (1 << 2)
526526
527− int frame_recovered; ///< Initial frame has been completely recovered
527+ /**
528+ * Initial frame has been completely recovered.
529+ *
530+ * Once this is set, all following decoded as well as displayed frames will be marked as recovered
531+ * If a frame is marked as recovered frame_recovered will be set once this frame is output and thus
532+ * all subsequently output fraames are also marked as recovered
533+ *
534+ * In effect, if you want all subsequent DECODED frames marked as recovered, set frame_recovered
535+ * If you want all subsequent DISPAYED frames marked as recovered, set the frame->recovered
536+ */
537+ int frame_recovered;
528538
529539 int has_recovery_point;
530540

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t