mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pod: make format like other PODs
This commit is contained in:
parent
e2d930e394
commit
f02f93cda9
13 changed files with 125 additions and 87 deletions
|
|
@ -337,8 +337,8 @@ spa_xv_sink_node_port_set_format (SpaNode *node,
|
|||
return SPA_RESULT_OK;
|
||||
}
|
||||
|
||||
if (format->media_type == SPA_MEDIA_TYPE_VIDEO) {
|
||||
if (format->media_subtype == SPA_MEDIA_SUBTYPE_RAW) {
|
||||
if (format->body.media_type == SPA_MEDIA_TYPE_VIDEO) {
|
||||
if (format->body.media_subtype == SPA_MEDIA_SUBTYPE_RAW) {
|
||||
if ((res = spa_format_video_parse (format, &info) < 0))
|
||||
return res;
|
||||
} else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue