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
627acb55
Commit
627acb55
authored
Nov 27, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP: some documentation
parent
36993b45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
modules/access/rtp/session.c
modules/access/rtp/session.c
+11
-1
No files found.
modules/access/rtp/session.c
View file @
627acb55
...
@@ -223,7 +223,8 @@ rtp_find_ptype (const rtp_session_t *session, rtp_source_t *source,
...
@@ -223,7 +223,8 @@ rtp_find_ptype (const rtp_session_t *session, rtp_source_t *source,
}
}
/**
/**
* Receives an RTP packet and queues it.
* Receives an RTP packet and queues it. Not a cancellation point.
*
* @param demux VLC demux object
* @param demux VLC demux object
* @param session RTP session receiving the packet
* @param session RTP session receiving the packet
* @param block RTP packet including the RTP header
* @param block RTP packet including the RTP header
...
@@ -440,6 +441,15 @@ drop:
...
@@ -440,6 +441,15 @@ drop:
}
}
/**
* Dequeues an RTP packet and pass it to decoder. Not cancellation-safe(?).
*
* @param demux VLC demux object
* @param session RTP session receiving the packet
* @param deadlinep pointer to deadline to call rtp_dequeue() again
* @return true if the buffer is not empty, false otherwise.
* In the later case, *deadlinep is undefined.
*/
bool
rtp_dequeue
(
demux_t
*
demux
,
const
rtp_session_t
*
session
,
bool
rtp_dequeue
(
demux_t
*
demux
,
const
rtp_session_t
*
session
,
mtime_t
*
restrict
deadlinep
)
mtime_t
*
restrict
deadlinep
)
{
{
...
...
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