Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
06127932
Commit
06127932
authored
Nov 16, 2004
by
hartman
Browse files
* sgimb.c: set the kasenna option correctly
fix the playlist autodelete
parent
b06d6287
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/demux/livedotcom.cpp
View file @
06127932
...
...
@@ -242,7 +242,6 @@ static int Open ( vlc_object_t *p_this )
psz_url
=
(
char
*
)
malloc
(
strlen
(
p_demux
->
psz_path
)
+
8
);
sprintf
(
psz_url
,
"rtsp://%s"
,
p_demux
->
psz_path
);
/* Add kasenna option */
psz_options
=
p_sys
->
rtsp
->
sendOptionsCmd
(
psz_url
);
if
(
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 )
else
if
(
!
strncasecmp
(
psz_bol
,
"sgiFormatName="
,
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
;
}
else
if
(
!
strncasecmp
(
psz_bol
,
"sgiMulticastAddress="
,
sizeof
(
"sgiMulticastAddress="
)
-
1
)
)
...
...
@@ -346,8 +346,8 @@ static int Demux ( demux_t *p_demux )
return
-
1
;
}
p_playlist
->
pp_items
[
p_playlist
->
i_index
]
->
b_autodeletion
=
VLC_TRUE
;
i_position
=
p_playlist
->
i_index
+
1
;
p_playlist
->
status
.
p_item
->
i_flags
=
PLAYLIST_DEL_FLAG
;
i_position
=
-
1
;
/* FIXME
p_playlist->i_index + 1;
*/
while
(
(
psz_line
=
stream_ReadLine
(
p_demux
->
s
)
)
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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