examples: fix texture updates

This commit is contained in:
Wim Taymans 2025-09-09 14:29:18 +02:00
parent 0b08468035
commit 144c3630ea
3 changed files with 44 additions and 31 deletions

View file

@ -172,7 +172,7 @@ static void on_stream_state_changed(void *_data, enum pw_stream_state old, enum
{
struct data *data = _data;
printf("stream state: \"%s\"\n", pw_stream_state_as_string(state));
printf("stream state: \"%s\" %s\n", pw_stream_state_as_string(state), error ? error : "");
switch (state) {
case PW_STREAM_STATE_ERROR: