Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
57ec6a0c
Commit
57ec6a0c
authored
Apr 04, 2012
by
Rémi Denis-Courmont
Browse files
v4l2: remove stray structure
parent
644e9c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/v4l2/demux.c
View file @
57ec6a0c
...
...
@@ -237,17 +237,6 @@ static vlc_fourcc_t var_InheritFourCC (vlc_object_t *obj, const char *varname)
}
#define var_InheritFourCC(o, v) var_InheritFourCC(VLC_OBJECT(o), v)
/**
* List of V4L2 chromas were confident enough to use as fallbacks if the
* user hasn't provided a --v4l2-chroma value.
*
* Try YUV chromas first, then RGB little endian and MJPEG as last resort.
*/
static
const
uint32_t
p_chroma_fallbacks
[]
=
{
V4L2_PIX_FMT_YUV420
,
V4L2_PIX_FMT_YVU420
,
V4L2_PIX_FMT_YUV422P
,
V4L2_PIX_FMT_YUYV
,
V4L2_PIX_FMT_UYVY
,
V4L2_PIX_FMT_BGR24
,
V4L2_PIX_FMT_BGR32
,
V4L2_PIX_FMT_MJPEG
,
V4L2_PIX_FMT_JPEG
};
static
int
InitVideo
(
demux_t
*
demux
,
int
fd
)
{
demux_sys_t
*
sys
=
demux
->
p_sys
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment