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
91994ef8
Commit
91994ef8
authored
Oct 01, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up.
parent
662d8a57
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
src/input/clock.c
src/input/clock.c
+9
-0
src/input/es_out.c
src/input/es_out.c
+1
-4
src/input/input_internal.h
src/input/input_internal.h
+1
-0
No files found.
src/input/clock.c
View file @
91994ef8
...
...
@@ -203,6 +203,15 @@ void input_ClockSetPCR( input_thread_t *p_input,
}
}
/*****************************************************************************
* input_ClockResetPCR:
*****************************************************************************/
void
input_ClockResetPCR
(
input_thread_t
*
p_input
,
input_clock_t
*
cl
)
{
cl
->
i_synchro_state
=
SYNCHRO_REINIT
;
cl
->
last_pts
=
0
;
}
/*****************************************************************************
* input_ClockGetTS: manages a PTS or DTS
*****************************************************************************/
...
...
src/input/es_out.c
View file @
91994ef8
...
...
@@ -1598,10 +1598,7 @@ static int EsOutControl( es_out_t *out, int i_query, va_list args )
case
ES_OUT_RESET_PCR
:
for
(
i
=
0
;
i
<
p_sys
->
i_pgrm
;
i
++
)
{
p_sys
->
pgrm
[
i
]
->
clock
.
i_synchro_state
=
SYNCHRO_REINIT
;
p_sys
->
pgrm
[
i
]
->
clock
.
last_pts
=
0
;
}
input_ClockResetPCR
(
p_sys
->
p_input
,
&
p_sys
->
pgrm
[
i
]
->
clock
);
return
VLC_SUCCESS
;
case
ES_OUT_GET_TS
:
...
...
src/input/input_internal.h
View file @
91994ef8
...
...
@@ -301,6 +301,7 @@ typedef struct
void
input_ClockInit
(
input_thread_t
*
,
input_clock_t
*
,
vlc_bool_t
b_master
,
int
i_cr_average
);
void
input_ClockSetPCR
(
input_thread_t
*
,
input_clock_t
*
,
mtime_t
);
void
input_ClockResetPCR
(
input_thread_t
*
,
input_clock_t
*
);
mtime_t
input_ClockGetTS
(
input_thread_t
*
,
input_clock_t
*
,
mtime_t
);
void
input_ClockSetRate
(
input_thread_t
*
,
input_clock_t
*
cl
);
...
...
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