Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
21ad4798
Commit
21ad4798
authored
Jun 01, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Ulead DV audio codecs and wave format tags.
parent
d14cc67d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
include/vlc_codecs.h
include/vlc_codecs.h
+5
-0
include/vlc_fourcc.h
include/vlc_fourcc.h
+2
-0
src/misc/fourcc.c
src/misc/fourcc.c
+5
-0
No files found.
include/vlc_codecs.h
View file @
21ad4798
...
...
@@ -244,6 +244,9 @@ ATTR_PACKED
#define WAVE_FORMAT_WMAP 0x0162
/* WMA 9 Professional */
#define WAVE_FORMAT_WMAL 0x0163
/* WMA 9 Lossless */
#define WAVE_FORMAT_ULEAD_DV_AUDIO_NTSC 0x0215
/* Ulead */
#define WAVE_FORMAT_ULEAD_DV_AUDIO_PAL 0x0216
/* Ulead */
#define WAVE_FORMAT_ATRAC3 0x0270
/* Atrac3, != from MSDN doc */
#define WAVE_FORMAT_SONY_ATRAC3 0x0272
/* Atrac3, != from MSDN doc */
...
...
@@ -381,6 +384,8 @@ wave_format_tag_to_fourcc[] =
{
WAVE_FORMAT_FLAC
,
VLC_CODEC_FLAC
,
"FLAC Audio"
},
{
WAVE_FORMAT_GSM_AMR_FIXED
,
VLC_CODEC_AMR_NB
,
"GSM-AMR Audio CBR, no SID"
},
{
WAVE_FORMAT_GSM_AMR
,
VLC_CODEC_AMR_NB
,
"GSM-AMR Audio VBR, SID"
},
{
WAVE_FORMAT_ULEAD_DV_AUDIO_NTSC
,
VLC_CODEC_ULEAD_DV_AUDIO_NTSC
,
"Ulead DV audio NTSC"
},
{
WAVE_FORMAT_ULEAD_DV_AUDIO_PAL
,
VLC_CODEC_ULEAD_DV_AUDIO_PAL
,
"Ulead DV audio PAL"
},
{
WAVE_FORMAT_UNKNOWN
,
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
),
"Unknown"
}
};
...
...
include/vlc_fourcc.h
View file @
21ad4798
...
...
@@ -330,6 +330,8 @@
#define VLC_CODEC_FI32 VLC_FOURCC('f','i','3','2')
#define VLC_CODEC_TWINVQ VLC_FOURCC('T','W','I','N')
#define VLC_CODEC_BMVAUDIO VLC_FOURCC('B','M','V','A')
#define VLC_CODEC_ULEAD_DV_AUDIO_NTSC VLC_FOURCC('m','s',0x02,0x15)
#define VLC_CODEC_ULEAD_DV_AUDIO_PAL VLC_FOURCC('m','s',0x02,0x16)
/* Subtitle */
#define VLC_CODEC_SPU VLC_FOURCC('s','p','u',' ')
...
...
src/misc/fourcc.c
View file @
21ad4798
...
...
@@ -1285,6 +1285,11 @@ static const entry_t p_list_audio[] = {
B
(
VLC_CODEC_BMVAUDIO
,
"Discworld II BMV audio"
),
A
(
"BMVA"
),
B
(
VLC_CODEC_ULEAD_DV_AUDIO_NTSC
,
"Ulead DV audio NTSC"
),
A
(
"ms
\x02\x15
"
),
B
(
VLC_CODEC_ULEAD_DV_AUDIO_PAL
,
"Ulead DV audio PAL"
),
A
(
"ms
\x02\x16
"
),
B
(
0
,
""
)
};
static
const
entry_t
p_list_spu
[]
=
{
...
...
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