mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
examples: v4l2: fix wrong initializations brought by 4e8ad58302
https://bugzilla.gnome.org/show_bug.cgi?id=682770
This commit is contained in:
parent
4e8ad58302
commit
3cfec119b1
1 changed files with 4 additions and 4 deletions
|
@ -27,17 +27,17 @@
|
|||
#include <gst/gst.h>
|
||||
|
||||
/* Options */
|
||||
static gchar *device = "/dev/video0";
|
||||
static gchar *videosink = "autovideosink";
|
||||
static const gchar *device = "/dev/video0";
|
||||
static const gchar *videosink = "autovideosink";
|
||||
static gboolean enable_dmabuf = FALSE;
|
||||
static gchar *def_resolutions[] = {
|
||||
static const gchar *def_resolutions[] = {
|
||||
"320x240",
|
||||
"1280x720",
|
||||
"640x480",
|
||||
NULL
|
||||
};
|
||||
|
||||
static gchar **resolutions = def_resolutions;
|
||||
static const gchar **resolutions = def_resolutions;
|
||||
|
||||
static GOptionEntry entries[] = {
|
||||
{"device", 'd', 0, G_OPTION_ARG_STRING, &device, "V4L2 Camera Device",
|
||||
|
|
Loading…
Reference in a new issue