Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
Steve Lhomme
VLC
Commits
6d170e5f
Commit
6d170e5f
authored
Mar 31, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/dshow/dshow.cpp: compilation fix.
parent
562ab59b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+9
-6
No files found.
modules/access/dshow/dshow.cpp
View file @
6d170e5f
...
...
@@ -2,9 +2,9 @@
* dshow.cpp : DirectShow access module for vlc
*****************************************************************************
* Copyright (C) 2002, 2003 VideoLAN
* $Id
: dshow.cpp,v 1.27 2004/01/29 17:04:01 gbazin Exp
$
* $Id$
*
* Author: Gildas Bazin <gbazin@
netcourrier.com
>
* Author: Gildas Bazin <gbazin@
videolan.org
>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -1348,8 +1348,9 @@ static int DemuxOpen( vlc_object_t *p_this )
msg_Dbg
(
p_input
,
"new audio es %d channels %dHz"
,
fmt
.
audio
.
i_channels
,
fmt
.
audio
.
i_rate
);
TAB_APPEND
(
p_sys
->
i_es
,
p_sys
->
es
,
es_out_Add
(
p_input
->
p_es_out
,
&
fmt
)
);
p_sys
->
es
=
(
es_out_id_t
**
)
realloc
(
p_sys
->
es
,
sizeof
(
es_out_id_t
*
)
*
(
p_sys
->
i_es
+
1
)
);
p_sys
->
es
[
p_sys
->
i_es
++
]
=
es_out_Add
(
p_input
->
p_es_out
,
&
fmt
);
}
else
if
(
!
memcmp
(
p_peek
,
"vids"
,
4
)
)
{
...
...
@@ -1361,8 +1362,10 @@ static int DemuxOpen( vlc_object_t *p_this )
msg_Dbg
(
p_input
,
"added new video es %4.4s %dx%d"
,
(
char
*
)
&
fmt
.
i_codec
,
fmt
.
video
.
i_width
,
fmt
.
video
.
i_height
);
TAB_APPEND
(
p_sys
->
i_es
,
p_sys
->
es
,
es_out_Add
(
p_input
->
p_es_out
,
&
fmt
)
);
p_sys
->
es
=
(
es_out_id_t
**
)
realloc
(
p_sys
->
es
,
sizeof
(
es_out_id_t
*
)
*
(
p_sys
->
i_es
+
1
)
);
p_sys
->
es
[
p_sys
->
i_es
++
]
=
es_out_Add
(
p_input
->
p_es_out
,
&
fmt
);
}
p_peek
+=
20
;
...
...
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