mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
Un-globalize variable
Original commit message from CVS: Un-globalize variable
This commit is contained in:
parent
90e3d8cd2e
commit
8162e4b296
2 changed files with 1 additions and 4 deletions
|
@ -46,7 +46,7 @@
|
||||||
"V4LSRC: " format, ##args)
|
"V4LSRC: " format, ##args)
|
||||||
|
|
||||||
/* palette names */
|
/* palette names */
|
||||||
char *palette_name[] = {
|
static const char *palette_name[] = {
|
||||||
"", /* 0 */
|
"", /* 0 */
|
||||||
"grayscale", /* VIDEO_PALETTE_GREY */
|
"grayscale", /* VIDEO_PALETTE_GREY */
|
||||||
"Hi-420", /* VIDEO_PALETTE_HI420 */
|
"Hi-420", /* VIDEO_PALETTE_HI420 */
|
||||||
|
|
|
@ -28,9 +28,6 @@ extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
|
||||||
extern char *palette_name[];
|
|
||||||
|
|
||||||
|
|
||||||
/* frame grabbing/capture (palette = VIDEO_PALETTE_* - see videodev.h) */
|
/* frame grabbing/capture (palette = VIDEO_PALETTE_* - see videodev.h) */
|
||||||
gboolean gst_v4lsrc_set_capture (GstV4lSrc *v4lsrc, gint width, gint height, gint palette);
|
gboolean gst_v4lsrc_set_capture (GstV4lSrc *v4lsrc, gint width, gint height, gint palette);
|
||||||
gboolean gst_v4lsrc_capture_init (GstV4lSrc *v4lsrc);
|
gboolean gst_v4lsrc_capture_init (GstV4lSrc *v4lsrc);
|
||||||
|
|
Loading…
Reference in a new issue