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
bad37ffd
Commit
bad37ffd
authored
Jun 07, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/bridge.c: Miscellaneous fixes to avoid late packets.
parent
7dfe6a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/stream_out/bridge.c
modules/stream_out/bridge.c
+6
-3
No files found.
modules/stream_out/bridge.c
View file @
bad37ffd
...
...
@@ -427,13 +427,14 @@ static int SendIn( sout_stream_t *p_stream, sout_stream_id_t *id,
b_no_es
=
VLC_FALSE
;
while
(
p_bridge
->
pp_es
[
i
]
->
p_block
!=
NULL
&&
(
p_bridge
->
pp_es
[
i
]
->
p_block
->
i_dts
<
mdate
()
&&
(
p_bridge
->
pp_es
[
i
]
->
p_block
->
i_dts
+
p_sys
->
i_delay
<
mdate
()
||
p_bridge
->
pp_es
[
i
]
->
p_block
->
i_dts
+
p_sys
->
i_delay
<
p_bridge
->
pp_es
[
i
]
->
i_last
)
)
{
block_t
*
p_block
=
p_bridge
->
pp_es
[
i
]
->
p_block
;
msg_Dbg
(
p_stream
,
"dropping a packet ("
I64Fd
")"
,
p_bridge
->
pp_es
[
i
]
->
i_last
-
p_block
->
i_dts
);
mdate
()
-
p_block
->
i_dts
-
p_sys
->
i_delay
);
p_bridge
->
pp_es
[
i
]
->
p_block
=
p_bridge
->
pp_es
[
i
]
->
p_block
->
p_next
;
block_Release
(
p_block
);
...
...
@@ -452,7 +453,9 @@ static int SendIn( sout_stream_t *p_stream, sout_stream_id_t *id,
}
else
{
if
(
p_bridge
->
pp_es
[
i
]
->
p_block
==
NULL
)
/* We need at least two packets to enter the mux. */
if
(
p_bridge
->
pp_es
[
i
]
->
p_block
==
NULL
||
p_bridge
->
pp_es
[
i
]
->
p_block
->
p_next
==
NULL
)
{
continue
;
}
...
...
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