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
Hide 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,7 +1078,8 @@ static int Play( demux_t *p_demux )
...
@@ -1078,7 +1078,8 @@ static int Play( demux_t *p_demux )
/* Retrieve the starttime if possible */
/* Retrieve the starttime if possible */
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
p_sys
->
i_npt_length
=
p_sys
->
ms
->
playEndTime
();
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
);
msg_Dbg
(
p_demux
,
"play start: %f stop:%f"
,
p_sys
->
i_npt_start
,
p_sys
->
i_npt_length
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
@@ -1286,7 +1287,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -1286,7 +1287,8 @@ 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
();
p_sys
->
i_npt
=
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
/* Retrieve the duration if possible */
/* Retrieve the duration if possible */
p_sys
->
i_npt_length
=
p_sys
->
ms
->
playEndTime
();
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
);
msg_Dbg
(
p_demux
,
"seek start: %f stop:%f"
,
p_sys
->
i_npt_start
,
p_sys
->
i_npt_length
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
@@ -1421,7 +1423,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
...
@@ -1421,7 +1423,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
p_sys
->
i_npt_start
=
p_sys
->
ms
->
playStartTime
();
/* Retrieve the duration if possible */
/* Retrieve the duration if possible */
p_sys
->
i_npt_length
=
p_sys
->
ms
->
playEndTime
();
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
);
msg_Dbg
(
p_demux
,
"pause start: %f stop:%f"
,
p_sys
->
i_npt_start
,
p_sys
->
i_npt_length
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
...
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