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
06360b94
Commit
06360b94
authored
Apr 12, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dshow: always override the demux when applicable
parent
cb2fda7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+8
-11
No files found.
modules/access/dshow/dshow.cpp
View file @
06360b94
...
@@ -793,18 +793,15 @@ static int AccessOpen( vlc_object_t *p_this )
...
@@ -793,18 +793,15 @@ static int AccessOpen( vlc_object_t *p_this )
dshow_stream_t
*
p_stream
=
p_sys
->
pp_streams
[
0
];
dshow_stream_t
*
p_stream
=
p_sys
->
pp_streams
[
0
];
/* Check if we need to force demuxers */
/* Check if we need to force demuxers */
if
(
!
p_access
->
psz_demux
||
!*
p_access
->
psz_demux
)
if
(
p_stream
->
i_fourcc
==
VLC_CODEC_DV
)
{
{
if
(
p_stream
->
i_fourcc
==
VLC_CODEC_DV
)
free
(
p_access
->
psz_demux
);
{
p_access
->
psz_demux
=
strdup
(
"rawdv"
);
free
(
p_access
->
psz_demux
);
}
p_access
->
psz_demux
=
strdup
(
"rawdv"
);
else
if
(
p_stream
->
i_fourcc
==
VLC_CODEC_MPGV
)
}
{
else
if
(
p_stream
->
i_fourcc
==
VLC_CODEC_MPGV
)
free
(
p_access
->
psz_demux
);
{
p_access
->
psz_demux
=
strdup
(
"mpgv"
);
free
(
p_access
->
psz_demux
);
p_access
->
psz_demux
=
strdup
(
"mpgv"
);
}
}
}
/* Setup Access */
/* Setup Access */
...
...
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