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
6f9bcb4e
Commit
6f9bcb4e
authored
Nov 01, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Set a higher RTSP caching if we use Kasenna VoD
parent
81eb72f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
modules/demux/sgimb.c
modules/demux/sgimb.c
+9
-2
No files found.
modules/demux/sgimb.c
View file @
6f9bcb4e
...
@@ -233,7 +233,7 @@ static int ParseLine ( demux_t *p_demux, char *psz_line )
...
@@ -233,7 +233,7 @@ static int ParseLine ( demux_t *p_demux, char *psz_line )
else
if
(
!
strncasecmp
(
psz_bol
,
"sgiFormatName="
,
sizeof
(
"sgiFormatName="
)
-
1
)
)
else
if
(
!
strncasecmp
(
psz_bol
,
"sgiFormatName="
,
sizeof
(
"sgiFormatName="
)
-
1
)
)
{
{
psz_bol
+=
sizeof
(
"sgiFormatName="
)
-
1
;
psz_bol
+=
sizeof
(
"sgiFormatName="
)
-
1
;
if
(
!
strcasestr
(
psz_bol
,
"MPEG-4"
)
)
if
(
!
strcasestr
(
psz_bol
,
"MPEG-4"
)
)
/*not mpeg4 */
p_sys
->
b_rtsp_kasenna
=
VLC_TRUE
;
p_sys
->
b_rtsp_kasenna
=
VLC_TRUE
;
}
}
else
if
(
!
strncasecmp
(
psz_bol
,
"sgiMulticastAddress="
,
sizeof
(
"sgiMulticastAddress="
)
-
1
)
)
else
if
(
!
strncasecmp
(
psz_bol
,
"sgiMulticastAddress="
,
sizeof
(
"sgiMulticastAddress="
)
-
1
)
)
...
@@ -342,7 +342,14 @@ static int Demux ( demux_t *p_demux )
...
@@ -342,7 +342,14 @@ static int Demux ( demux_t *p_demux )
playlist_ItemAddOption
(
p_item
,
psz_option
);
playlist_ItemAddOption
(
p_item
,
psz_option
);
free
(
psz_option
);
free
(
psz_option
);
}
}
if
(
p_sys
->
b_rtsp_kasenna
)
if
(
!
p_sys
->
psz_mcast_ip
)
{
char
*
psz_option
;
asprintf
(
&
psz_option
,
"rtsp-caching=10000"
)
playlist_ItemAddOption
(
p_item
,
psz_option
)
free
(
psz_option
);
}
if
(
!
p_sys
->
psz_mcast_ip
&&
p_sys
->
b_rtsp_kasenna
)
{
{
char
*
psz_option
;
char
*
psz_option
;
asprintf
(
&
psz_option
,
"rtsp-kasenna"
);
asprintf
(
&
psz_option
,
"rtsp-kasenna"
);
...
...
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