mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-29 11:08:40 -05:00
spa: specify SPA_FORMAT_VIDEO_MODIFIER as DMA-BUF only
SPA_FORMAT_VIDEO_MODIFIER is only valid with DMA-BUF transport. For using other types of buffers omit this property.
This commit is contained in:
parent
1f5396fedb
commit
07d0b14955
2 changed files with 4 additions and 2 deletions
|
|
@ -177,7 +177,8 @@ enum spa_video_interlace_mode {
|
|||
*/
|
||||
struct spa_video_info_raw {
|
||||
enum spa_video_format format; /**< the format */
|
||||
int64_t modifier; /**< format modifier */
|
||||
int64_t modifier; /**< format modifier
|
||||
* only used with DMA-BUF */
|
||||
struct spa_rectangle size; /**< the frame size of the video */
|
||||
struct spa_fraction framerate; /**< the framerate of the video, 0/1 means variable rate */
|
||||
struct spa_fraction max_framerate; /**< the maximum framerate of the video. This is only valid when
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue