Debug derives
This commit is contained in:
parent
a8fa279201
commit
86d047e217
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@ use std::sync::Arc;
|
||||||
use ebml::EbmlEventSource;
|
use ebml::EbmlEventSource;
|
||||||
use webm::*;
|
use webm::*;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct ClusterHead {
|
pub struct ClusterHead {
|
||||||
pub keyframe: bool,
|
pub keyframe: bool,
|
||||||
pub start: u64,
|
pub start: u64,
|
||||||
|
@ -73,6 +73,7 @@ impl<B: AsRef<[u8]>> AsRef<[u8]> for Chunk<B> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
enum ChunkerState {
|
enum ChunkerState {
|
||||||
BuildingHeader(Cursor<Vec<u8>>),
|
BuildingHeader(Cursor<Vec<u8>>),
|
||||||
// WIP ClusterHead & body buffer
|
// WIP ClusterHead & body buffer
|
||||||
|
@ -82,6 +83,7 @@ enum ChunkerState {
|
||||||
End
|
End
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub enum ChunkingError<E> {
|
pub enum ChunkingError<E> {
|
||||||
IoError(::std::io::Error),
|
IoError(::std::io::Error),
|
||||||
OtherError(E)
|
OtherError(E)
|
||||||
|
|
Loading…
Reference in a new issue