Skip to main content

player_plugin/
capability.rs

1use serde::{Deserialize, Serialize};
2
3use crate::{AssemblyMode, ContentFormatKind, OutputFormat};
4
5#[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize)]
6pub struct ProcessorCapabilities {
7    pub supported_input_formats: Vec<ContentFormatKind>,
8    pub output_formats: Vec<OutputFormat>,
9    pub supports_cancellation: bool,
10    #[serde(default)]
11    pub supports_assembly: bool,
12    #[serde(default)]
13    pub supported_assembly_modes: Vec<AssemblyMode>,
14}