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
ce946ab3
Commit
ce946ab3
authored
Aug 18, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avformat demux: don't add empty tracks in AVMEDIA_TYPE_DATA cases
Ref: #5204
parent
230d6db1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+7
-5
No files found.
modules/demux/avformat/demux.c
View file @
ce946ab3
...
...
@@ -373,13 +373,14 @@ int OpenDemux( vlc_object_t *p_this )
}
else
msg_Warn
(
p_demux
,
"unsupported attachment type (%u) in ffmpeg demux"
,
cc
->
codec_id
);
}
break
;
else
#endif
{
if
(
cc
->
codec_type
==
AVMEDIA_TYPE_DATA
)
psz_type
=
"data"
;
if
(
cc
->
codec_type
==
AVMEDIA_TYPE_DATA
)
psz_type
=
"data"
;
msg_Warn
(
p_demux
,
"unsupported track type in ffmpeg demux"
);
msg_Warn
(
p_demux
,
"unsupported track type in ffmpeg demux"
);
}
break
;
}
...
...
@@ -393,6 +394,7 @@ int OpenDemux( vlc_object_t *p_this )
#ifdef HAVE_FFMPEG_CODEC_ATTACHMENT
if
(
cc
->
codec_type
!=
AVMEDIA_TYPE_ATTACHMENT
)
#endif
if
(
cc
->
codec_type
!=
AVMEDIA_TYPE_DATA
)
{
const
bool
b_ogg
=
!
strcmp
(
p_sys
->
fmt
->
name
,
"ogg"
);
const
uint8_t
*
p_extra
=
cc
->
extradata
;
...
...
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