Commit 0bbeaf5
upipe_avcodec_encode: release frame buffers sooner
Avoid keeping video frame buffers after they have been used, to make
sure hardware frames contexts are not kept needlessly.1 parent e021c90 commit 0bbeaf5
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
703 | | - | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
704 | 705 | | |
705 | 706 | | |
706 | 707 | | |
| |||
869 | 870 | | |
870 | 871 | | |
871 | 872 | | |
872 | | - | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
| 965 | + | |
965 | 966 | | |
966 | 967 | | |
967 | 968 | | |
| |||
0 commit comments