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
06127932
Commit
06127932
authored
Nov 16, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sgimb.c: set the kasenna option correctly
fix the playlist autodelete
parent
b06d6287
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+0
-1
modules/demux/sgimb.c
modules/demux/sgimb.c
+3
-3
No files found.
modules/demux/livedotcom.cpp
View file @
06127932
...
@@ -242,7 +242,6 @@ static int Open ( vlc_object_t *p_this )
...
@@ -242,7 +242,6 @@ static int Open ( vlc_object_t *p_this )
psz_url
=
(
char
*
)
malloc
(
strlen
(
p_demux
->
psz_path
)
+
8
);
psz_url
=
(
char
*
)
malloc
(
strlen
(
p_demux
->
psz_path
)
+
8
);
sprintf
(
psz_url
,
"rtsp://%s"
,
p_demux
->
psz_path
);
sprintf
(
psz_url
,
"rtsp://%s"
,
p_demux
->
psz_path
);
/* Add kasenna option */
psz_options
=
p_sys
->
rtsp
->
sendOptionsCmd
(
psz_url
);
psz_options
=
p_sys
->
rtsp
->
sendOptionsCmd
(
psz_url
);
if
(
psz_options
)
if
(
psz_options
)
delete
[]
psz_options
;
delete
[]
psz_options
;
...
...
modules/demux/sgimb.c
View file @
06127932
...
@@ -279,7 +279,7 @@ static int ParseLine ( demux_t *p_demux, char *psz_line )
...
@@ -279,7 +279,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"
)
)
/*not mpeg4
*/
if
(
strcasestr
(
psz_bol
,
"MPEG-4"
)
==
NULL
)
/*not mpeg4 found in string
*/
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
)
)
...
@@ -346,8 +346,8 @@ static int Demux ( demux_t *p_demux )
...
@@ -346,8 +346,8 @@ static int Demux ( demux_t *p_demux )
return
-
1
;
return
-
1
;
}
}
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
b_autodeletion
=
VLC_TRUE
;
p_playlist
->
status
.
p_item
->
i_flags
=
PLAYLIST_DEL_FLAG
;
i_position
=
p_playlist
->
i_index
+
1
;
i_position
=
-
1
;
/* FIXME p_playlist->i_index + 1; */
while
(
(
psz_line
=
stream_ReadLine
(
p_demux
->
s
)
)
)
while
(
(
psz_line
=
stream_ReadLine
(
p_demux
->
s
)
)
)
{
{
...
...
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