Un-globalize variable

Original commit message from CVS:
Un-globalize variable
This commit is contained in:
Ronald S. Bultje 2003-05-14 19:54:37 +00:00
parent 90e3d8cd2e
commit 8162e4b296
2 changed files with 1 additions and 4 deletions

View file

@ -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 */

View file

@ -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);