filter/sink: add set_frame_size()

This commit is contained in:
lummax 2015-09-06 12:56:16 +02:00 committed by meh
parent 29450c4260
commit d1e693965c

View File

@ -31,4 +31,10 @@ impl<'a> Sink<'a> {
}
}
}
pub fn set_frame_size(&mut self, value: u32) {
unsafe {
av_buffersink_set_frame_size(self.ctx.as_mut_ptr(), value);
}
}
}