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
78b381b7
Commit
78b381b7
authored
Jun 07, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* input: warning fix + no more input_OffsetToTime.
parent
c6edf8d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
27 deletions
+1
-27
src/input/input.c
src/input/input.c
+1
-27
No files found.
src/input/input.c
View file @
78b381b7
...
...
@@ -1215,20 +1215,6 @@ static void EndThread( input_thread_t * p_input )
#define S p_input->stream
msg_Dbg
(
p_input
,
"dumping stream ID 0x%x [OK:%ld/D:%ld]"
,
S
.
i_stream_id
,
S
.
c_packets_read
,
S
.
c_packets_trashed
);
if
(
S
.
b_seekable
)
{
char
psz_time1
[
MSTRTIME_MAX_SIZE
];
char
psz_time2
[
MSTRTIME_MAX_SIZE
];
msg_Dbg
(
p_input
,
"seekable stream, position: "
I64Fd
"/"
I64Fd
" (%s/%s)"
,
S
.
p_selected_area
->
i_tell
,
S
.
p_selected_area
->
i_size
,
input_OffsetToTime
(
p_input
,
psz_time1
,
S
.
p_selected_area
->
i_tell
),
input_OffsetToTime
(
p_input
,
psz_time2
,
S
.
p_selected_area
->
i_size
)
);
}
else
msg_Dbg
(
p_input
,
"pace %scontrolled"
,
S
.
b_pace_control
?
""
:
"un-"
);
#undef S
for
(
i
=
0
;
i
<
p_input
->
stream
.
i_pgrm_number
;
i
++
)
{
...
...
@@ -1547,18 +1533,8 @@ static void input_SetStatus( input_thread_t *p_input, int i_mode )
/*****************************************************************************
* input_SetRate:
*****************************************************************************/
static
void
input_SetRate
(
vlc_object_t
*
p_this
,
int
i_rate
)
static
void
input_SetRate
(
input_thread_t
*
p_input
,
int
i_rate
)
{
input_thread_t
*
p_input
;
p_input
=
vlc_object_find
(
p_this
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
if
(
p_input
==
NULL
)
{
msg_Err
(
p_this
,
"no input found"
);
return
;
}
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
if
(
i_rate
*
8
<
DEFAULT_RATE
)
...
...
@@ -1594,8 +1570,6 @@ static void input_SetRate( vlc_object_t * p_this, int i_rate )
vlc_cond_signal
(
&
p_input
->
stream
.
stream_wait
);
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
vlc_object_release
(
p_input
);
}
/*****************************************************************************
...
...
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