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
3d958c18
Commit
3d958c18
authored
Nov 19, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable RTSP rtpInfo track synchronization in live555 demuxer.
parent
c77ee763
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
modules/demux/live555.cpp
modules/demux/live555.cpp
+16
-16
No files found.
modules/demux/live555.cpp
View file @
3d958c18
...
...
@@ -546,7 +546,7 @@ describe:
}
/*****************************************************************************
*
Connect
: prepares the subsessions and does the SETUP
*
SessionsSetup
: prepares the subsessions and does the SETUP
*****************************************************************************/
static
int
SessionsSetup
(
demux_t
*
p_demux
)
{
...
...
@@ -955,13 +955,13 @@ static int Play( demux_t *p_demux )
}
p_sys
->
i_pcr
=
0
;
#if
0
#if
(LIVEMEDIA_LIBRARY_VERSION_INT >= 1195257600)
/* TODO */
for
(
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
//p_sys->track[i]->i_pts = 0
;
p_sys
->
track
[
i
]
->
i_pts
=
(
int64_t
)
(
p_sys
->
track
[
i
]
->
sub
->
rtpInfo
.
timestamp
*
(
double
)
1000000.0
)
;
p_sys
->
track
[
i
]
->
i_start_seq
=
(
int
)
p_sys
->
track
[
i
]
->
sub
->
rtpInfo
.
seqNum
;
msg_
Dbg
( p_demux, "set startseq: %u", p_sys->track[i]->i_start_seq );
msg_
Info
(
p_demux
,
"set startseq: %u"
,
p_sys
->
track
[
i
]
->
i_start_seq
);
}
#endif
...
...
@@ -1171,13 +1171,13 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
es_out_Control
(
p_demux
->
out
,
ES_OUT_RESET_PCR
);
p_sys
->
i_pcr
=
0
;
#if
0
#if
(LIVEMEDIA_LIBRARY_VERSION_INT >= 1195257600)
/* Retrieve RTP-Info values */
for
(
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
//p_sys->track[i]->i_pts = 0
;
p_sys
->
track
[
i
]
->
i_pts
=
(
int64_t
)
(
p_sys
->
track
[
i
]
->
sub
->
rtpInfo
.
timestamp
*
(
double
)
1000000.0
)
;
p_sys
->
track
[
i
]
->
i_start_seq
=
p_sys
->
track
[
i
]
->
sub
->
rtpInfo
.
seqNum
;
msg_
Dbg
( p_demux, "set pos startseq: %u", p_sys->track[i]->i_start_seq );
msg_
Info
(
p_demux
,
"set pos startseq: %u"
,
p_sys
->
track
[
i
]
->
i_start_seq
);
}
#endif
#if (LIVEMEDIA_LIBRARY_VERSION_INT >= 9999999999)
...
...
@@ -1248,12 +1248,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
es_out_Control
(
p_demux
->
out
,
ES_OUT_RESET_PCR
);
p_sys
->
i_pcr
=
0
;
#if
0
#if
(LIVEMEDIA_LIBRARY_VERSION_INT >= 1195257600)
for
(
i
=
0
;
i
<
p_sys
->
i_track
;
i
++
)
{
//p_sys->track[i]->i_pts = 0
;
p_sys
->
track
[
i
]
->
i_pts
=
(
int64_t
)
(
p_sys
->
track
[
i
]
->
sub
->
rtpInfo
.
timestamp
*
(
double
)
1000000.0
)
;
p_sys
->
track
[
i
]
->
i_start_seq
=
p_sys
->
track
[
i
]
->
sub
->
rtpInfo
.
seqNum
;
msg_
Dbg
( p_demux, "set pause startseq: %u", p_sys->track[i]->i_start_seq );
msg_
Info
(
p_demux
,
"set pause startseq: %u"
,
p_sys
->
track
[
i
]
->
i_start_seq
);
}
#endif
#if (LIVEMEDIA_LIBRARY_VERSION_INT >= 9999999999)
...
...
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