ffmpeg_stringify/nodes/
stream.rs

1use serde::{Serialize, Deserialize};
2
3#[derive(Debug,Clone, Serialize, Deserialize)]
4pub enum StreamType {
5    Input,
6    Output
7}
8
9#[derive(Debug,Clone, Serialize, Deserialize)]
10pub struct Stream{
11    pub path:String,
12    pub name:String,
13    pub stream_type:StreamType,
14    pub inputs:Option<Vec<String>>
15}