Skip to content

Commit

Permalink
Merge c4e86a0 into 4b3a717
Browse files Browse the repository at this point in the history
  • Loading branch information
shssoichiro committed Aug 12, 2020
2 parents 4b3a717 + c4e86a0 commit 9f1f780
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ version = "0.2.1"
path = "data"

[dependencies.av-format]
version = "0.2.0"
version = "0.3.0"
path = "format"

[dependencies.av-bitstream]
Expand Down
2 changes: 1 addition & 1 deletion format/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "av-format"
description = "Multimedia format demuxing and muxing"
version = "0.2.1"
version = "0.3.0"
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
license = "MIT"
edition = "2018"
Expand Down
6 changes: 3 additions & 3 deletions format/src/muxer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ use crate::error::*;

pub trait Muxer: Send {
fn configure(&mut self) -> Result<()>;
fn write_header(&mut self, buf: &mut Vec<u8>) -> Result<()>;
fn write_packet(&mut self, buf: &mut Vec<u8>, pkt: Arc<Packet>) -> Result<()>;
fn write_trailer(&mut self, buf: &mut Vec<u8>) -> Result<()>;
fn write_header(&mut self, out: &mut dyn Write) -> Result<()>;
fn write_packet(&mut self, out: &mut dyn Write, pkt: Arc<Packet>) -> Result<()>;
fn write_trailer(&mut self, out: &mut dyn Write) -> Result<()>;

fn set_global_info(&mut self, info: GlobalInfo) -> Result<()>;
fn set_option<'a>(&mut self, key: &str, val: Value<'a>) -> Result<()>;
Expand Down

0 comments on commit 9f1f780

Please sign in to comment.