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
0521ca9e
Commit
0521ca9e
authored
Apr 24, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* asf: fix to play stream over mmsh.
parent
d0cbf30e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+12
-2
No files found.
modules/demux/asf/asf.c
View file @
0521ca9e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* asf.c : ASFv01 file input module for vlc
* asf.c : ASFv01 file input module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: asf.c,v 1.2
6 2003/04/09 14:12:49 hartman
Exp $
* $Id: asf.c,v 1.2
7 2003/04/24 20:26:32 fenrir
Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -73,6 +73,8 @@ static int Activate( vlc_object_t * p_this )
...
@@ -73,6 +73,8 @@ static int Activate( vlc_object_t * p_this )
demux_sys_t
*
p_demux
;
demux_sys_t
*
p_demux
;
int
i_stream
;
int
i_stream
;
vlc_bool_t
b_seekable
;
/* Initialize access plug-in structures. */
/* Initialize access plug-in structures. */
if
(
p_input
->
i_mtu
==
0
)
if
(
p_input
->
i_mtu
==
0
)
{
{
...
@@ -107,7 +109,15 @@ static int Activate( vlc_object_t * p_this )
...
@@ -107,7 +109,15 @@ static int Activate( vlc_object_t * p_this )
p_demux
->
i_time
=
-
1
;
p_demux
->
i_time
=
-
1
;
/* Now load all object ( except raw data ) */
/* Now load all object ( except raw data ) */
if
(
!
ASF_ReadObjectRoot
(
p_input
,
&
p_demux
->
root
,
p_input
->
stream
.
b_seekable
)
)
if
(
p_input
->
stream
.
b_seekable
&&
p_input
->
stream
.
i_method
==
INPUT_METHOD_FILE
)
{
b_seekable
=
VLC_TRUE
;
}
else
{
b_seekable
=
VLC_FALSE
;
}
if
(
!
ASF_ReadObjectRoot
(
p_input
,
&
p_demux
->
root
,
b_seekable
)
)
{
{
msg_Warn
(
p_input
,
"ASF v1.0 plugin discarded (not a valid file)"
);
msg_Warn
(
p_input
,
"ASF v1.0 plugin discarded (not a valid file)"
);
free
(
p_demux
);
free
(
p_demux
);
...
...
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