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
090fe825
Commit
090fe825
authored
Aug 23, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct WVP2 fourcc and map to avcodec
Should close #4011
parent
bdf2ffa1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
include/vlc_fourcc.h
include/vlc_fourcc.h
+1
-0
modules/codec/avcodec/fourcc.c
modules/codec/avcodec/fourcc.c
+1
-0
src/misc/fourcc.c
src/misc/fourcc.c
+4
-2
No files found.
include/vlc_fourcc.h
View file @
090fe825
...
...
@@ -48,6 +48,7 @@
#define VLC_CODEC_WMV3 VLC_FOURCC('W','M','V','3')
#define VLC_CODEC_WMVA VLC_FOURCC('W','M','V','A')
#define VLC_CODEC_WMVP VLC_FOURCC('W','M','V','P')
#define VLC_CODEC_WMVP2 VLC_FOURCC('W','V','P','2')
#define VLC_CODEC_VC1 VLC_FOURCC('V','C','-','1')
#define VLC_CODEC_THEORA VLC_FOURCC('t','h','e','o')
#define VLC_CODEC_TARKIN VLC_FOURCC('t','a','r','k')
...
...
modules/codec/avcodec/fourcc.c
View file @
090fe825
...
...
@@ -228,6 +228,7 @@ static const struct
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 53, 9, 0 )
{
VLC_CODEC_WMVP
,
CODEC_ID_WMV3IMAGE
,
VIDEO_ES
},
{
VLC_CODEC_WMVP2
,
CODEC_ID_VC1IMAGE
,
VIDEO_ES
},
#endif
#if 0
...
...
src/misc/fourcc.c
View file @
090fe825
...
...
@@ -393,8 +393,6 @@ static const entry_t p_list_video[] = {
B
(
VLC_CODEC_WMVA
,
"Windows Media Video Advanced Profile"
),
A
(
"WMVA"
),
A
(
"wmva"
),
A
(
"WVP2"
),
A
(
"wvp2"
),
B
(
VLC_CODEC_VC1
,
"Windows Media Video VC1"
),
A
(
"WVC1"
),
...
...
@@ -406,6 +404,10 @@ static const entry_t p_list_video[] = {
A
(
"WMVP"
),
A
(
"wmvp"
),
B
(
VLC_CODEC_WMVP2
,
"Windows Media Video Presentation, v2"
),
A
(
"WVP2"
),
A
(
"wvp2"
),
/* Microsoft Video 1 */
B
(
VLC_CODEC_MSVIDEO1
,
"Microsoft Video 1"
),
A
(
"MSVC"
),
...
...
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