Revert "Fix/macos texture stride align"

This commit is contained in:
RustDesk authored and GitHub committed 2023-03-03 13:18:34 +08:00
1 parent a35e0a1d84
commit 29abda56df
12 files changed
+52 -65

No files matched your search

+2 -2
View File
@@ -37,8 +37,8 @@ pub mod hwcodec;
pub mod mediacodec;
pub mod vpxcodec;
pub use self::convert::*;
pub const STRIDE: usize = 64; // commonly used in libvpx vpx_img_alloc caller
pub const HW_STRIDE: usize = 0; // recommended by av_frame_get_buffer
pub const STRIDE_ALIGN: usize = 64; // commonly used in libvpx vpx_img_alloc caller
pub const HW_STRIDE_ALIGN: usize = 0; // recommended by av_frame_get_buffer
pub mod record;
mod vpx;