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
4a86bd43
Commit
4a86bd43
authored
Jun 11, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activated iLBC support on Macs running QuickTime 7.5 or later
parent
a39be083
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
modules/codec/quicktime.c
modules/codec/quicktime.c
+15
-0
No files found.
modules/codec/quicktime.c
View file @
4a86bd43
...
@@ -227,6 +227,13 @@ static int Open( vlc_object_t *p_this )
...
@@ -227,6 +227,13 @@ static int Open( vlc_object_t *p_this )
{
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
#ifdef __APPLE__
OSErr
err
;
SInt32
qtVersion
;
err
=
Gestalt
(
gestaltQuickTimeVersion
,
&
qtVersion
);
#endif
switch
(
p_dec
->
fmt_in
.
i_codec
)
switch
(
p_dec
->
fmt_in
.
i_codec
)
{
{
case
VLC_FOURCC
(
'h'
,
'2'
,
'6'
,
'4'
):
/* H.264 */
case
VLC_FOURCC
(
'h'
,
'2'
,
'6'
,
'4'
):
/* H.264 */
...
@@ -246,6 +253,14 @@ static int Open( vlc_object_t *p_this )
...
@@ -246,6 +253,14 @@ static int Open( vlc_object_t *p_this )
return
OpenVideo
(
p_dec
);
return
OpenVideo
(
p_dec
);
#endif
#endif
#ifdef __APPLE__
case
VLC_FOURCC
(
'I'
,
'L'
,
'B'
,
'C'
):
/* iLBC */
if
((
err
==
noErr
)
&&
(
qtVersion
<
0x07500000
))
return
VLC_EGENERIC
;
case
VLC_FOURCC
(
'i'
,
'l'
,
'b'
,
'c'
):
/* iLBC */
if
((
err
==
noErr
)
&&
(
qtVersion
<
0x07500000
))
return
VLC_EGENERIC
;
#endif
case
VLC_FOURCC
(
's'
,
'a'
,
'm'
,
'r'
):
/* 3GPP AMR audio */
case
VLC_FOURCC
(
's'
,
'a'
,
'm'
,
'r'
):
/* 3GPP AMR audio */
case
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'a'
):
/* MPEG-4 audio */
case
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'a'
):
/* MPEG-4 audio */
case
VLC_FOURCC
(
'Q'
,
'D'
,
'M'
,
'C'
):
/* QDesign */
case
VLC_FOURCC
(
'Q'
,
'D'
,
'M'
,
'C'
):
/* QDesign */
...
...
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