diff --git a/src/examples/video-play.c b/src/examples/video-play.c index a98a95c55..0eb6dca07 100644 --- a/src/examples/video-play.c +++ b/src/examples/video-play.c @@ -407,6 +407,7 @@ static int build_format(struct data *data, struct spa_pod_builder *b, const stru fprintf(stderr, "supported SDL formats:\n"); spa_debug_format(2, NULL, params[0]); + return 1; params[1] = spa_pod_builder_add_object(b, SPA_TYPE_OBJECT_Format, SPA_PARAM_EnumFormat, SPA_FORMAT_mediaType, SPA_POD_Id(SPA_MEDIA_TYPE_video),