mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
jack: remove leftover printf debug
This commit is contained in:
parent
ed1cf46c31
commit
9acf592e9c
1 changed files with 0 additions and 4 deletions
|
|
@ -4351,22 +4351,18 @@ int jack_get_video_image_size(jack_client_t *client, jack_image_size_t *size)
|
||||||
struct client *c = (struct client *) client;
|
struct client *c = (struct client *) client;
|
||||||
struct pw_node_activation *a = c->driver_activation;
|
struct pw_node_activation *a = c->driver_activation;
|
||||||
|
|
||||||
printf("1\n");
|
|
||||||
if (a == NULL)
|
if (a == NULL)
|
||||||
a = c->activation;
|
a = c->activation;
|
||||||
if (a == NULL)
|
if (a == NULL)
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
printf("2\n");
|
|
||||||
if (!(a->position.video.flags & SPA_IO_VIDEO_SIZE_VALID))
|
if (!(a->position.video.flags & SPA_IO_VIDEO_SIZE_VALID))
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
printf("3\n");
|
|
||||||
size->width = a->position.video.size.width;
|
size->width = a->position.video.size.width;
|
||||||
size->height = a->position.video.size.height;
|
size->height = a->position.video.size.height;
|
||||||
size->stride = a->position.video.stride;
|
size->stride = a->position.video.stride;
|
||||||
size->flags = 0;
|
size->flags = 0;
|
||||||
printf("%d %d %d %d\n", size->width, size->height, size->stride, size->flags);
|
|
||||||
return size->stride * size->height;
|
return size->stride * size->height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue