From 110aac8c6f2cecc4ad955a54d665916b910684b0 Mon Sep 17 00:00:00 2001 From: columbarius Date: Sat, 23 Oct 2021 19:00:14 +0200 Subject: [PATCH] examples: video-play-fixate announce ParamBuffer after fixation This lets the fixation finish. Can this be made unneeded? --- src/examples/video-play-fixate.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/examples/video-play-fixate.c b/src/examples/video-play-fixate.c index 20162f43d..937c3660f 100644 --- a/src/examples/video-play-fixate.c +++ b/src/examples/video-play-fixate.c @@ -306,6 +306,11 @@ on_stream_param_changed(void *_data, uint32_t id, const struct spa_pod *param) fprintf(stderr, "got format:\n"); spa_debug_format(2, NULL, param); + if (!spa_pod_is_fixated(param)) { + fprintf(stderr, "not fixated\n"); + return; + } + if (spa_format_parse(param, &data->format.media_type, &data->format.media_subtype) < 0) return;