Skip to content

Commit

Permalink
Merge pull request #78 from maxomatic458/remove-generic
Browse files Browse the repository at this point in the history
Remove unnecessary generic in `VideoEncoder::new_from_stream` ⭐
  • Loading branch information
NiiightmareXD authored Sep 10, 2024
2 parents 43b8ac9 + 8aaed34 commit bfbdddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ impl VideoEncoder {
/// Returns a `Result` containing the `VideoEncoder` instance if successful, or a
/// `VideoEncoderError` if an error occurs.
#[inline]
pub fn new_from_stream<P: AsRef<Path>>(
pub fn new_from_stream(
video_settings: VideoSettingsBuilder,
audio_settings: AudioSettingsBuilder,
container_settings: ContainerSettingsBuilder,
Expand Down

0 comments on commit bfbdddf

Please sign in to comment.