mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 01:21:28 +03:00
Revert "Fix/macos texture stride align"
This commit is contained in:
@@ -50,8 +50,7 @@ impl MediaCodecDecoder {
|
||||
MediaCodecDecoders { h264, h265 }
|
||||
}
|
||||
|
||||
// to-do: apply stride to raw output data
|
||||
pub fn decode(&mut self, data: &[u8], stride: usize, fmt: ImageFormat, raw: &mut Vec<u8>) -> ResultType<bool> {
|
||||
pub fn decode(&mut self, data: &[u8], fmt: ImageFormat, raw: &mut Vec<u8>) -> ResultType<bool> {
|
||||
match self.dequeue_input_buffer(Duration::from_millis(10))? {
|
||||
Some(mut input_buffer) => {
|
||||
let mut buf = input_buffer.buffer_mut();
|
||||
|
||||
Reference in New Issue
Block a user