rust-av / dav1d-rs

libdav1d rust bindings
MIT License
40 stars 20 forks source link

Fails to build w/ dav1d 1.0.0 #62

Closed AdrianVovk closed 2 years ago

AdrianVovk commented 2 years ago
error[E0609]: no field `n_frame_threads` on type `dav1d_sys::Dav1dSettings`
   --> /buildstream/carbonOS/pkgs/gstreamer/plugins/dav1d.bst/crates/dav1d-0.7.0/src/lib.rs:111:29
    |
111 |         self.dav1d_settings.n_frame_threads = n_frame_threads as i32;
    |                             ^^^^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `n_threads`, `max_frame_delay`, `apply_grain`, `operating_point`, `all_layers` ... and 7 others

error[E0609]: no field `n_frame_threads` on type `dav1d_sys::Dav1dSettings`
   --> /buildstream/carbonOS/pkgs/gstreamer/plugins/dav1d.bst/crates/dav1d-0.7.0/src/lib.rs:115:29
    |
115 |         self.dav1d_settings.n_frame_threads as u32
    |                             ^^^^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `n_threads`, `max_frame_delay`, `apply_grain`, `operating_point`, `all_layers` ... and 7 others

error[E0609]: no field `n_tile_threads` on type `dav1d_sys::Dav1dSettings`
   --> /buildstream/carbonOS/pkgs/gstreamer/plugins/dav1d.bst/crates/dav1d-0.7.0/src/lib.rs:119:29
    |
119 |         self.dav1d_settings.n_tile_threads = n_tile_threads as i32;
    |                             ^^^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `n_threads`, `max_frame_delay`, `apply_grain`, `operating_point`, `all_layers` ... and 7 others

error[E0609]: no field `n_tile_threads` on type `dav1d_sys::Dav1dSettings`
   --> /buildstream/carbonOS/pkgs/gstreamer/plugins/dav1d.bst/crates/dav1d-0.7.0/src/lib.rs:123:29
    |
123 |         self.dav1d_settings.n_tile_threads as u32
    |                             ^^^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `n_threads`, `max_frame_delay`, `apply_grain`, `operating_point`, `all_layers` ... and 7 others

error[E0609]: no field `n_postfilter_threads` on type `dav1d_sys::Dav1dSettings`
   --> /buildstream/carbonOS/pkgs/gstreamer/plugins/dav1d.bst/crates/dav1d-0.7.0/src/lib.rs:159:29
    |
159 |         self.dav1d_settings.n_postfilter_threads = n_postfilter_threads as i32;
    |                             ^^^^^^^^^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `n_threads`, `max_frame_delay`, `apply_grain`, `operating_point`, `all_layers` ... and 7 others

error[E0609]: no field `n_postfilter_threads` on type `dav1d_sys::Dav1dSettings`
   --> /buildstream/carbonOS/pkgs/gstreamer/plugins/dav1d.bst/crates/dav1d-0.7.0/src/lib.rs:163:29
    |
163 |         self.dav1d_settings.n_postfilter_threads as u32
    |                             ^^^^^^^^^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `n_threads`, `max_frame_delay`, `apply_grain`, `operating_point`, `all_layers` ... and 7 others
AdrianVovk commented 2 years ago

Ah, whoops. I just saw you have a commit to fix this already. Closing

When would this make it into a release?