mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Remove redundant fields from PortInfo
This commit is contained in:
parent
d1a6d6e03f
commit
f12a5ffc80
5 changed files with 0 additions and 15 deletions
|
|
@ -898,8 +898,6 @@ spa_v4l2_set_format (SpaV4l2Source *this, SpaVideoInfo *format, bool try_only)
|
|||
framerate->denom = streamparm.parm.capture.timeperframe.numerator;
|
||||
|
||||
state->fmt = fmt;
|
||||
state->info.direction = SPA_DIRECTION_OUTPUT;
|
||||
state->info.port_id = 0;
|
||||
state->info.flags = (state->export_buf ? SPA_PORT_INFO_FLAG_CAN_ALLOC_BUFFERS : 0) |
|
||||
SPA_PORT_INFO_FLAG_CAN_USE_BUFFERS |
|
||||
SPA_PORT_INFO_FLAG_LIVE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue