Commit 138f7cd
fix: resolve clippy lints in export optimization code
- Fix collapsible_if in encoder thread (mp4.rs)
- Fix needless_option_as_deref in finish_encoder_nv12_pooled
- Remove unused finish_encoder_nv12 wrapper (replaced by pooled variant)
- Remove unused PendingNv12Readback::wait (replaced by wait_with_pool)
- Remove unused NV12BufferPool::return_buf and max_buffers field
- Remove unnecessary mut on buffer_pool parameter
Co-authored-by: Richie McIlroy <richiemcilroy@users.noreply.github.com>1 parent f6b5257 commit 138f7cd
2 files changed
Lines changed: 8 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | | - | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
| |||
334 | 326 | | |
335 | 327 | | |
336 | 328 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | 329 | | |
342 | 330 | | |
343 | 331 | | |
| |||
914 | 902 | | |
915 | 903 | | |
916 | 904 | | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | 905 | | |
938 | 906 | | |
939 | 907 | | |
940 | 908 | | |
941 | 909 | | |
942 | 910 | | |
943 | 911 | | |
944 | | - | |
| 912 | + | |
945 | 913 | | |
946 | 914 | | |
947 | 915 | | |
948 | 916 | | |
949 | 917 | | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
| 918 | + | |
954 | 919 | | |
955 | 920 | | |
956 | 921 | | |
| |||
0 commit comments