Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5ae87b7e
Commit
5ae87b7e
authored
May 23, 2001
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-LPCM audio selection in ps mode, in prevision of henri's decoder.
parent
31e42cb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
plugins/mpeg/input_ps.c
plugins/mpeg/input_ps.c
+11
-2
src/input/input_programs.c
src/input/input_programs.c
+3
-4
No files found.
plugins/mpeg/input_ps.c
View file @
5ae87b7e
...
...
@@ -2,7 +2,7 @@
* input_ps.c: PS demux and packet management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input_ps.c,v 1.2
3 2001/05/08 00:43:57 sam
Exp $
* $Id: input_ps.c,v 1.2
4 2001/05/23 17:47:34 stef
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Cyril Deguet <asmax@via.ecp.fr>
...
...
@@ -338,7 +338,16 @@ static void PSInit( input_thread_t * p_input )
break
;
case
LPCM_AUDIO_ES
:
/* FIXME ! */
if
(
main_GetIntVariable
(
INPUT_CHANNEL_VAR
,
0
)
==
((
p_es
->
i_id
&
0x1F00
)
>>
8
)
)
switch
(
main_GetIntVariable
(
INPUT_AUDIO_VAR
,
0
)
)
{
case
0
:
main_PutIntVariable
(
INPUT_AUDIO_VAR
,
REQUESTED_LPCM
);
case
REQUESTED_LPCM
:
input_SelectES
(
p_input
,
p_es
);
}
break
;
}
}
...
...
src/input/input_programs.c
View file @
5ae87b7e
...
...
@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_programs.c,v 1.5
6 2001/05/19 00:39:30
stef Exp $
* $Id: input_programs.c,v 1.5
7 2001/05/23 17:47:34
stef Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -599,6 +599,7 @@ vlc_thread_t ac3spdif_CreateThread( void * );
vlc_thread_t
spdif_CreateThread
(
void
*
);
vlc_thread_t
vpar_CreateThread
(
void
*
);
vlc_thread_t
spudec_CreateThread
(
void
*
);
vlc_thread_t
lpcmdec_CreateThread
(
void
*
);
int
input_SelectES
(
input_thread_t
*
p_input
,
es_descriptor_t
*
p_es
)
{
...
...
@@ -678,9 +679,7 @@ int input_SelectES( input_thread_t * p_input, es_descriptor_t * p_es )
case
LPCM_AUDIO_ES
:
if
(
p_main
->
b_audio
)
{
intf_ErrMsg
(
"input error: LPCM audio not handled yet"
);
break
;
decoder
.
pf_create_thread
=
lpcmdec_CreateThread
;
p_config
=
(
void
*
)
GetAdecConfig
(
p_input
,
p_es
);
/* Release the lock, not to block the input thread during
...
...
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