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
bed4475a
Commit
bed4475a
authored
Aug 11, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix signalling of MPEG2-TS discontinuity indicators while seeking during streaming.
parent
001a4a94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
src/input/input.c
src/input/input.c
+9
-10
No files found.
src/input/input.c
View file @
bed4475a
...
...
@@ -1469,11 +1469,10 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
if
(
i_title
>=
0
&&
i_title
<
p_input
->
input
.
i_title
)
{
demux2_Control
(
p_demux
,
DEMUX_SET_TITLE
,
i_title
);
input_EsOutDiscontinuity
(
p_input
->
p_es_out
,
VLC_FALSE
);
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_RESET_PCR
);
demux2_Control
(
p_demux
,
DEMUX_SET_TITLE
,
i_title
);
input_ControlVarTitle
(
p_input
,
i_title
);
}
}
...
...
@@ -1491,11 +1490,11 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
if
(
i_title
>=
0
&&
i_title
<
p_input
->
input
.
i_title
)
{
access2_Control
(
p_access
,
ACCESS_SET_TITLE
,
i_title
);
stream_AccessReset
(
p_input
->
input
.
p_stream
);
input_EsOutDiscontinuity
(
p_input
->
p_es_out
,
VLC_FALSE
);
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_RESET_PCR
);
access2_Control
(
p_access
,
ACCESS_SET_TITLE
,
i_title
);
stream_AccessReset
(
p_input
->
input
.
p_stream
);
}
}
break
;
...
...
@@ -1532,10 +1531,10 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
if
(
i_seekpoint
>=
0
&&
i_seekpoint
<
p_input
->
input
.
title
[
p_demux
->
info
.
i_title
]
->
i_seekpoint
)
{
demux2_Control
(
p_demux
,
DEMUX_SET_SEEKPOINT
,
i_seekpoint
);
input_EsOutDiscontinuity
(
p_input
->
p_es_out
,
VLC_FALSE
);
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_RESET_PCR
);
demux2_Control
(
p_demux
,
DEMUX_SET_SEEKPOINT
,
i_seekpoint
);
}
}
else
if
(
p_input
->
input
.
i_title
>
0
)
...
...
@@ -1568,11 +1567,11 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
if
(
i_seekpoint
>=
0
&&
i_seekpoint
<
p_input
->
input
.
title
[
p_access
->
info
.
i_title
]
->
i_seekpoint
)
{
access2_Control
(
p_access
,
ACCESS_SET_SEEKPOINT
,
i_seekpoint
);
stream_AccessReset
(
p_input
->
input
.
p_stream
);
input_EsOutDiscontinuity
(
p_input
->
p_es_out
,
VLC_FALSE
);
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_RESET_PCR
);
access2_Control
(
p_access
,
ACCESS_SET_SEEKPOINT
,
i_seekpoint
);
stream_AccessReset
(
p_input
->
input
.
p_stream
);
}
}
break
;
...
...
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