Skip to content

Commit

Permalink
Remove Send + Sync trait bounds from MediaSource
Browse files Browse the repository at this point in the history
  • Loading branch information
atoktoto committed Jan 7, 2024
1 parent de067aa commit 1ae8cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symphonia-core/src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl <T: std::io::Seek> Seek for T {
/// Despite requiring the [`std::io::Seek`] trait, seeking is an optional capability that can be
/// queried at runtime.
// pub trait MediaSource: io::Read + io::Seek + Send + Sync {
pub trait MediaSource: Read + Seek + Send + Sync {
pub trait MediaSource: Read + Seek {
/// Returns if the source is seekable. This may be an expensive operation.
fn is_seekable(&self) -> bool;

Expand Down

0 comments on commit 1ae8cff

Please sign in to comment.