Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
2067333a
Commit
2067333a
authored
Jul 09, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the length in rtsp on PLAY request only if defined.
It will fix interoperability with live555 server.
parent
6546505c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/demux/live555.cpp
modules/demux/live555.cpp
+6
-3
No files found.
modules/demux/live555.cpp
View file @
2067333a
...
...
@@ -1078,6 +1078,7 @@ static int Play( demux_t *p_demux )
/* Retrieve the starttime if possible */
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
if
(
p_sys
->
ms
->
playEndTime
()
>
0
)
p_sys
->
i_npt_length
=
p_sys
->
ms
->
playEndTime
();
msg_Dbg
(
p_demux
,
"play start: %f stop:%f"
,
p_sys
->
i_npt_start
,
p_sys
->
i_npt_length
);
...
...
@@ -1286,6 +1287,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
p_sys
->
i_npt
=
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
/* Retrieve the duration if possible */
if
(
p_sys
->
ms
->
playEndTime
()
>
0
)
p_sys
->
i_npt_length
=
p_sys
->
ms
->
playEndTime
();
msg_Dbg
(
p_demux
,
"seek start: %f stop:%f"
,
p_sys
->
i_npt_start
,
p_sys
->
i_npt_length
);
...
...
@@ -1421,6 +1423,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
/* Retrieve the duration if possible */
if
(
p_sys
->
ms
->
playEndTime
()
)
p_sys
->
i_npt_length
=
p_sys
->
ms
->
playEndTime
();
msg_Dbg
(
p_demux
,
"pause start: %f stop:%f"
,
p_sys
->
i_npt_start
,
p_sys
->
i_npt_length
);
...
...
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