Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
48b6b41a
Commit
48b6b41a
authored
Jul 10, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mmstu: workaround for some streams. (missing 0x11 answer).
parent
af3dd2cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+6
-1
No files found.
modules/access/mms/mmstu.c
View file @
48b6b41a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* mms.c: MMS access plug-in
* mms.c: MMS access plug-in
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mmstu.c,v 1.
3 2003/05/09 02:39:21
fenrir Exp $
* $Id: mmstu.c,v 1.
4 2003/07/10 23:55:14
fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -724,10 +724,13 @@ static int MMSOpen( input_thread_t *p_input,
...
@@ -724,10 +724,13 @@ static int MMSOpen( input_thread_t *p_input,
var_buffer_add32
(
&
buffer
,
0x00
);
var_buffer_add32
(
&
buffer
,
0x00
);
var_buffer_add64
(
&
buffer
,
0x40ac200000000000
);
var_buffer_add64
(
&
buffer
,
0x40ac200000000000
);
var_buffer_add32
(
&
buffer
,
p_sys
->
i_header_packet_id_type
);
var_buffer_add32
(
&
buffer
,
p_sys
->
i_header_packet_id_type
);
var_buffer_add32
(
&
buffer
,
0x00
);
mms_CommandSend
(
p_input
,
0x15
,
p_sys
->
i_command_level
,
0x00
,
mms_CommandSend
(
p_input
,
0x15
,
p_sys
->
i_command_level
,
0x00
,
buffer
.
p_data
,
buffer
.
i_data
);
buffer
.
p_data
,
buffer
.
i_data
);
/* *** wait for reponse *** */
/* *** wait for reponse *** */
/* Commented out because it fails on some stream (no 0x11 answer) */
#if 0
mms_CommandRead( p_input, 0x11, 0 );
mms_CommandRead( p_input, 0x11, 0 );
if( p_sys->i_command != 0x11 )
if( p_sys->i_command != 0x11 )
...
@@ -739,6 +742,8 @@ static int MMSOpen( input_thread_t *p_input,
...
@@ -739,6 +742,8 @@ static int MMSOpen( input_thread_t *p_input,
MMSClose( p_input );
MMSClose( p_input );
return( -1 );
return( -1 );
}
}
#endif
/* *** now read header packet *** */
/* *** now read header packet *** */
/* XXX could be split over multiples packets */
/* XXX could be split over multiples packets */
msg_Dbg
(
p_input
,
"reading header"
);
msg_Dbg
(
p_input
,
"reading header"
);
...
...
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