From 648e5a299b8e261be4e664b7d5b6b794ec87d8ac Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 7 Sep 2016 13:48:10 +0200 Subject: [PATCH] v4l2: fix negotiation with missing framerate in filter --- spa/plugins/v4l2/v4l2-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/v4l2/v4l2-utils.c b/spa/plugins/v4l2/v4l2-utils.c index 45b4684fc..8e77280c9 100644 --- a/spa/plugins/v4l2/v4l2-utils.c +++ b/spa/plugins/v4l2/v4l2-utils.c @@ -636,7 +636,7 @@ have_size: /* check against filter */ idx = spa_props_index_for_id (&filter->props, SPA_PROP_ID_VIDEO_FRAMERATE); if (idx == SPA_IDX_INVALID) - return SPA_RESULT_ENUM_END; + goto have_framerate; pi = &filter->props.prop_info[idx]; if (pi->type != SPA_PROP_TYPE_FRACTION)