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
8764d2a1
Commit
8764d2a1
authored
May 07, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sout-std: remove RTP stuff (since we don't have a RTP access output)
parent
8e65c917
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/stream_out/standard.c
modules/stream_out/standard.c
+4
-6
No files found.
modules/stream_out/standard.c
View file @
8764d2a1
...
...
@@ -284,8 +284,7 @@ static int Open( vlc_object_t *p_this )
{
psz_mux
=
strdup
(
"asfh"
);
}
else
if
(
!
strcmp
(
psz_access
,
"udp"
)
||
!
strcmp
(
psz_access
,
"rtp"
))
else
if
(
!
strcmp
(
psz_access
,
"udp"
))
{
psz_mux
=
strdup
(
"ts"
);
}
...
...
@@ -333,19 +332,18 @@ static int Open( vlc_object_t *p_this )
psz_mux
=
strdup
(
"asfh"
);
}
}
else
if
(
(
!
strncmp
(
psz_access
,
"rtp"
,
3
)
||
!
strncmp
(
psz_access
,
"udp"
,
3
)
)
)
else
if
(
!
strncmp
(
psz_access
,
"udp"
,
3
)
)
{
if
(
!
strncmp
(
psz_mux
,
"ffmpeg"
,
6
)
)
{
/* why would you use ffmpeg's ts muxer ? YOU DON'T LOVE VLC ??? */
char
*
psz_ffmpeg_mux
=
var_CreateGetString
(
p_this
,
"ffmpeg-mux"
);
if
(
!
psz_ffmpeg_mux
||
strncmp
(
psz_ffmpeg_mux
,
"mpegts"
,
6
)
)
msg_Err
(
p_stream
,
"UDP
and RTP are
only valid with TS"
);
msg_Err
(
p_stream
,
"UDP
is
only valid with TS"
);
free
(
psz_ffmpeg_mux
);
}
else
if
(
strncmp
(
psz_mux
,
"ts"
,
2
)
)
{
msg_Err
(
p_stream
,
"UDP
and RTP are
only valid with TS"
);
msg_Err
(
p_stream
,
"UDP
is
only valid with TS"
);
}
}
else
if
(
strncmp
(
psz_access
,
"file"
,
4
)
&&
...
...
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