Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
36ead72d
Commit
36ead72d
authored
Jan 14, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed dual-mono handling of MPEG audio.
* rc.c: fixed a warning.
parent
c750b4b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
11 deletions
+16
-11
modules/audio_filter/channel_mixer/trivial.c
modules/audio_filter/channel_mixer/trivial.c
+5
-2
modules/control/rc/rc.c
modules/control/rc/rc.c
+11
-9
No files found.
modules/audio_filter/channel_mixer/trivial.c
View file @
36ead72d
...
...
@@ -2,7 +2,7 @@
* trivial.c : trivial channel mixer plug-in (drops unwanted channels)
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: trivial.c,v 1.
8 2002/12/04 21:48:02 gbazin
Exp $
* $Id: trivial.c,v 1.
9 2003/01/14 14:51:02 massiot
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -113,7 +113,10 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
s32
*
p_dest
=
(
s32
*
)
p_out_buf
->
p_buffer
;
s32
*
p_src
=
(
s32
*
)
p_in_buf
->
p_buffer
;
if
(
p_filter
->
output
.
i_original_channels
&
AOUT_CHAN_DUALMONO
)
if
(
(
p_filter
->
output
.
i_original_channels
&
AOUT_CHAN_PHYSMASK
)
!=
(
p_filter
->
input
.
i_original_channels
&
AOUT_CHAN_PHYSMASK
)
&&
(
p_filter
->
input
.
i_original_channels
&
AOUT_CHAN_PHYSMASK
)
==
(
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
)
)
{
int
i
;
/* This is a bit special. */
...
...
modules/control/rc/rc.c
View file @
36ead72d
...
...
@@ -2,7 +2,7 @@
* rc.c : remote control stdin/stdout plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: rc.c,v 1.1
8 2003/01/14 01:30:09 sigmunau
Exp $
* $Id: rc.c,v 1.1
9 2003/01/14 14:51:02 massiot
Exp $
*
* Authors: Peter Surda <shurdeek@panorama.sth.ac.at>
*
...
...
@@ -435,8 +435,8 @@ static void Run( intf_thread_t *p_intf )
}
}
static
int
Input
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
static
int
Input
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
input_thread_t
*
p_input
;
...
...
@@ -555,12 +555,12 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
if
(
(
i_title
>
0
)
&&
(
i_title
<=
p_input
->
stream
.
p_selected_area
->
i_part_nb
)
)
{
p_input
->
stream
.
p_selected_area
->
i_part
=
i_title
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
input_ChangeArea
(
p_input
,
(
input_area_t
*
)
p_input
->
stream
.
pp_areas
[
i_title
]
);
input_SetStatus
(
p_input
,
INPUT_STATUS_PLAY
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
p_input
->
stream
.
p_selected_area
->
i_part
=
i_title
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
input_ChangeArea
(
p_input
,
(
input_area_t
*
)
p_input
->
stream
.
pp_areas
[
i_title
]
);
input_SetStatus
(
p_input
,
INPUT_STATUS_PLAY
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
}
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
...
...
@@ -568,6 +568,8 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
return
VLC_SUCCESS
;
}
/* Never reached. */
return
VLC_EGENERIC
;
}
static
int
Playlist
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
...
...
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