Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
308e4bdc
Commit
308e4bdc
authored
Apr 06, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: disable compressed formats where not available (Linux < 3.1)
parent
bd23dee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/access/v4l2/demux.c
modules/access/v4l2/demux.c
+2
-0
No files found.
modules/access/v4l2/demux.c
View file @
308e4bdc
...
...
@@ -180,6 +180,7 @@ static const vlc_v4l2_fmt_t v4l2_fmts[] =
/* Compressed data types */
{
V4L2_PIX_FMT_JPEG
,
VLC_CODEC_MJPG
,
0
,
0
,
0
},
#ifdef V4L2_PIX_FMT_H264
{
V4L2_PIX_FMT_H264
,
VLC_CODEC_H264
,
0
,
0
,
0
},
/* FIXME: fill p_extra for avc1... */
// { V4L2_PIX_FMT_H264_NO_SC, VLC_FOURCC('a','v','c','1'), 0, 0, 0 }
...
...
@@ -190,6 +191,7 @@ static const vlc_v4l2_fmt_t v4l2_fmts[] =
{
V4L2_PIX_FMT_MPEG1
,
VLC_CODEC_MPGV
,
0
,
0
,
0
},
{
V4L2_PIX_FMT_VC1_ANNEX_G
,
VLC_CODEC_VC1
,
0
,
0
,
0
},
{
V4L2_PIX_FMT_VC1_ANNEX_L
,
VLC_CODEC_VC1
,
0
,
0
,
0
},
#endif
//V4L2_PIX_FMT_MPEG -> use access
/* Reserved formats */
...
...
Write
Preview
Markdown
is supported
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