Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
fd7b8945
Commit
fd7b8945
authored
Sep 08, 2007
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT 7.2 seems to handle PPS/SPS ok, so send them too.
small typo to fix port-audio/video sending.
parent
b33d89fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+1
-7
No files found.
modules/stream_out/rtp.c
View file @
fd7b8945
...
@@ -867,7 +867,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -867,7 +867,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
{
{
int
ttl
=
(
p_sys
->
i_ttl
>
0
)
?
p_sys
->
i_ttl
:
-
1
;
int
ttl
=
(
p_sys
->
i_ttl
>
0
)
?
p_sys
->
i_ttl
:
-
1
;
int
fd
=
net_ConnectDgram
(
p_stream
,
p_sys
->
psz_destination
,
int
fd
=
net_ConnectDgram
(
p_stream
,
p_sys
->
psz_destination
,
p_sys
->
i_port
,
ttl
,
IPPROTO_UDP
);
i_port
,
ttl
,
IPPROTO_UDP
);
if
(
fd
==
-
1
)
if
(
fd
==
-
1
)
{
{
...
@@ -1770,12 +1770,6 @@ rtp_packetize_h264_nal( sout_stream_t *p_stream, sout_stream_id_t *id,
...
@@ -1770,12 +1770,6 @@ rtp_packetize_h264_nal( sout_stream_t *p_stream, sout_stream_id_t *id,
i_nal_hdr
=
p_data
[
3
];
i_nal_hdr
=
p_data
[
3
];
i_nal_type
=
i_nal_hdr
&
0x1f
;
i_nal_type
=
i_nal_hdr
&
0x1f
;
if
(
i_nal_type
==
7
||
i_nal_type
==
8
)
{
/* XXX Why do you want to remove them ? It will break streaming with
* SPS/PPS change (broadcast) ? */
return
VLC_SUCCESS
;
}
/* Skip start code */
/* Skip start code */
p_data
+=
3
;
p_data
+=
3
;
...
...
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