Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -524,7 +524,17 @@ typedef struct H264Context { · 523 unmodified lines | |||
| 524 | */ | 524 | */ |
| 525 | #define FRAME_RECOVERED_HEURISTIC (1 << 2) | 525 | #define FRAME_RECOVERED_HEURISTIC (1 << 2) |
| 526 | 526 | ||
| 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; | ||
| 528 | 538 | ||
| 529 | int has_recovery_point; | 539 | int has_recovery_point; |
| 530 | 540 | ||