mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +00:00
video: Don't require the input buffers of the video codec frames to be writable
This commit is contained in:
parent
bc082ba56c
commit
4798b4bcc9
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ impl<'a> VideoCodecFrame<'a> {
|
|||
if ptr.is_null() {
|
||||
None
|
||||
} else {
|
||||
Some(gst::BufferRef::from_mut_ptr(ptr))
|
||||
Some(gst::BufferRef::from_ptr(ptr))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue