Skip to content

Commit

Permalink
Fix FrameRef rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lookback-hugotunius authored and lolgesten committed May 1, 2024
1 parent 045e2f7 commit 5ee5afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::ptr;
use tracing::Level;


use super::{sys, av_log_set_callback, set_log_level, log_callback, Codec, Error, CodecKind, err_code_to_string, EncodedFrame, Packet};
use super::{sys, av_log_set_callback, set_log_level, log_callback, Codec, Error, CodecKind, err_code_to_string, FrameRef, Packet};
use super::sys::AVPixelFormat as PixelFormat;
use super::{RawFrame, RawPacket};

Expand Down Expand Up @@ -141,7 +141,7 @@ impl Encoder {

pub fn encode(
&mut self,
frame: &dyn EncodedFrame,
frame: &dyn FrameRef,
) -> Result<impl Iterator<Item = Result<Packet, Error>>, Error> {
let pts = self.pts_counter;
self.pts_counter += 1;
Expand Down

0 comments on commit 5ee5afd

Please sign in to comment.