} else if (GST_IS_OSS4_SOURCE (obj)) {
rb = GST_AUDIO_BASE_SRC (obj)->ringbuffer;
} else
- g_assert_not_reached ();
+ g_return_if_reached ();
/* -1 = get info for currently open device (fd). This will fail with
* OSS build <= 1013 because of a bug in OSS */
}
case GST_V4L2_IO_USERPTR:
default:
+ newbuf = NULL;
g_assert_not_reached ();
- break;
}
pool->num_allocated++;
case GST_V4L2_IO_USERPTR:
default:
+ ret = GST_FLOW_ERROR;
g_assert_not_reached ();
break;
}
case GST_V4L2_IO_USERPTR:
default:
+ ret = GST_FLOW_ERROR;
g_assert_not_reached ();
break;
}
break;
default:
+ ret = GST_FLOW_ERROR;
g_assert_not_reached ();
break;
}
break;
#endif
default:
+ format = GST_VIDEO_FORMAT_UNKNOWN;
g_assert_not_reached ();
break;
}
gint int_width = width;
gint int_height = height;
- if (!strcmp((char *)v4l2object->vcap.driver, "uvcvideo")) {
+ if (!strcmp ((char *) v4l2object->vcap.driver, "uvcvideo")) {
/*
* UVC devices are never interlaced, and doing VIDIOC_TRY_FMT on them
* causes expensive and slow USB IO, so don't probe them for interlaced
*/
- interlaced = FALSE;
+ interlaced = FALSE;
} else {
/* Interlaced detection using VIDIOC_TRY/S_FMT */
if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat,