mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
v4l2: remove more unused parameters
This commit is contained in:
parent
baa03a951b
commit
b7ad28ba53
3 changed files with 3 additions and 4 deletions
|
@ -552,7 +552,7 @@ gst_v4l2src_set_caps (GstBaseSrc * src, GstCaps * caps)
|
|||
/* error already posted */
|
||||
return FALSE;
|
||||
|
||||
if (!gst_v4l2src_capture_init (v4l2src, caps))
|
||||
if (!gst_v4l2src_capture_init (v4l2src))
|
||||
return FALSE;
|
||||
|
||||
if (v4l2src->use_mmap) {
|
||||
|
|
|
@ -295,7 +295,7 @@ done:
|
|||
* return value: TRUE on success, FALSE on error
|
||||
******************************************************/
|
||||
gboolean
|
||||
gst_v4l2src_capture_init (GstV4l2Src * v4l2src, GstCaps * caps)
|
||||
gst_v4l2src_capture_init (GstV4l2Src * v4l2src)
|
||||
{
|
||||
GST_DEBUG_OBJECT (v4l2src, "initializing the capture system");
|
||||
|
||||
|
|
|
@ -27,14 +27,13 @@
|
|||
#include "gstv4l2src.h"
|
||||
#include "v4l2_calls.h"
|
||||
|
||||
gboolean gst_v4l2src_get_capture (GstV4l2Src * v4l2src);
|
||||
gboolean gst_v4l2src_set_capture (GstV4l2Src * v4l2src,
|
||||
guint32 pixelformat,
|
||||
guint32 width, guint32 height,
|
||||
gboolean interlaced,
|
||||
guint32 fps_n, guint32 fps_d);
|
||||
|
||||
gboolean gst_v4l2src_capture_init (GstV4l2Src * v4l2src, GstCaps *caps);
|
||||
gboolean gst_v4l2src_capture_init (GstV4l2Src * v4l2src);
|
||||
gboolean gst_v4l2src_capture_start (GstV4l2Src * v4l2src);
|
||||
|
||||
GstFlowReturn gst_v4l2src_grab_frame (GstV4l2Src * v4l2src, GstBuffer **buf);
|
||||
|
|
Loading…
Reference in a new issue