diff --git a/lib/libv4lconvert/libv4lconvert.c b/lib/libv4lconvert/libv4lconvert.c
index f44f9ff..1dd32c6 100644
--- a/lib/libv4lconvert/libv4lconvert.c
+++ b/lib/libv4lconvert/libv4lconvert.c
@@ -1422,15 +1422,31 @@ int v4lconvert_enum_frameintervals(struct v4lconvert_data *data,
 {
 	int res;
 	struct v4l2_format src_fmt, dest_fmt;
+	int hack = 0;
 
+#if 1
+	if (frmival->index == 1) {
+	    printf("hack index %d -> 0\n", frmival->index);
+	    hack = frmival->index;
+	    frmival->index = 0;
+	}
+#endif
 	if (!v4lconvert_supported_dst_format(frmival->pixel_format)) {
 		if (v4lconvert_supported_dst_fmt_only(data)) {
+			if (hack) {
+				frmival->index = hack;
+				printf("hack index 0 -> %d\n", frmival->index);
+			}
 			errno = EINVAL;
 			return -1;
 		}
 		res = SYS_IOCTL(data->fd, VIDIOC_ENUM_FRAMEINTERVALS, frmival);
 		if (res)
 			V4LCONVERT_ERR("%s\n", strerror(errno));
+		if (hack) {
+			frmival->index = hack;
+			printf("hack index 0 -> %d\n", frmival->index);
+		}
 		return res;
 	}
 
@@ -1443,6 +1459,10 @@ int v4lconvert_enum_frameintervals(struct v4lconvert_data *data,
 	res = v4lconvert_try_format(data, &dest_fmt, &src_fmt);
 	if (res) {
 		V4LCONVERT_ERR("trying format: %s\n", strerror(errno));
+		if (hack) {
+			frmival->index = hack;
+			printf("hack index 0 -> %d\n", frmival->index);
+		}
 		return res;
 	}
 
@@ -1465,6 +1485,10 @@ int v4lconvert_enum_frameintervals(struct v4lconvert_data *data,
 				(dest_pixformat >> 16) & 0xff,
 				dest_pixformat >> 24,
 				dest_fmt.fmt.pix.width , dest_fmt.fmt.pix.height);
+		if (hack) {
+			frmival->index = hack;
+			printf("hack index 0 -> %d\n", frmival->index);
+		}
 		errno = EINVAL;
 		return -1;
 	}
@@ -1474,6 +1498,10 @@ int v4lconvert_enum_frameintervals(struct v4lconvert_data *data,
 	frmival->width = src_fmt.fmt.pix.width;
 	frmival->height = src_fmt.fmt.pix.height;
 	res = SYS_IOCTL(data->fd, VIDIOC_ENUM_FRAMEINTERVALS, frmival);
+	if (hack) {
+		frmival->index = hack;
+		printf("hack index 0 -> %d\n", frmival->index);
+	}
 	if (res) {
 		int dest_pixfmt = dest_fmt.fmt.pix.pixelformat;
 		int src_pixfmt  = src_fmt.fmt.pix.pixelformat;
