v4l2: fix negotiation with missing framerate in filter

This commit is contained in:
Wim Taymans 2016-09-07 13:48:10 +02:00
parent 64ad745437
commit 648e5a299b

View file

@ -636,7 +636,7 @@ have_size:
/* check against filter */ /* check against filter */
idx = spa_props_index_for_id (&filter->props, SPA_PROP_ID_VIDEO_FRAMERATE); idx = spa_props_index_for_id (&filter->props, SPA_PROP_ID_VIDEO_FRAMERATE);
if (idx == SPA_IDX_INVALID) if (idx == SPA_IDX_INVALID)
return SPA_RESULT_ENUM_END; goto have_framerate;
pi = &filter->props.prop_info[idx]; pi = &filter->props.prop_info[idx];
if (pi->type != SPA_PROP_TYPE_FRACTION) if (pi->type != SPA_PROP_TYPE_FRACTION)