Skip to content

Commit

Permalink
Fix missing serde flag on re_renderer video flags (rerun-io#7567)
Browse files Browse the repository at this point in the history
* [x] happy tick box check
  • Loading branch information
Wumpf authored Oct 2, 2024
1 parent b93fdd5 commit c692760
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions crates/viewer/re_renderer/src/video/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ pub struct Video {
///
/// On the web this directly corresponds to
/// <https://www.w3.org/TR/webcodecs/#hardware-acceleration>
#[derive(
Debug, Clone, Copy, PartialEq, Eq, Default, Hash, serde::Deserialize, serde::Serialize,
)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub enum DecodeHardwareAcceleration {
/// May use hardware acceleration if available and compatible with the codec.
#[default]
Expand Down
2 changes: 1 addition & 1 deletion crates/viewer/re_viewer_context/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ re_log_types.workspace = true
re_log.workspace = true
re_math.workspace = true
re_query.workspace = true
re_renderer.workspace = true
re_renderer = { workspace = true, features = ["serde"] }
re_smart_channel.workspace = true
re_string_interner.workspace = true
re_tracing.workspace = true
Expand Down

0 comments on commit c692760

Please sign in to comment.