Commit 122cc8d8 authored by Luca Barbato's avatar Luca Barbato Committed by Luca Barbato

Fix the send_frame bound

The additional Pixel bound is spurious and wrong.
parent e6cc1923
......@@ -598,7 +598,6 @@ impl<T: Pixel> Context<T> {
pub fn send_frame<F>(&mut self, frame: F) -> Result<(), EncoderStatus>
where
F: Into<Option<Arc<Frame<T>>>>,
T: Pixel,
{
let frame = frame.into();
......@@ -662,8 +661,7 @@ impl<T: Pixel> Context<T> {
impl<T: Pixel> ContextInner<T> {
pub fn send_frame<F>(&mut self, frame: F) -> Result<(), EncoderStatus>
where
F: Into<Option<Arc<Frame<T>>>>,
T: Pixel,
F: Into<Option<Arc<Frame<T>>>>
{
let idx = self.frame_count;
let frame = frame.into();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment