Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Thibault Saunier
gst-devtools
Commits
bab10bd0
Commit
bab10bd0
authored
Jul 25, 2020
by
Thibault Saunier
🌵
Committed by
GStreamer Marge Bot
Jul 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
validate: Fix media descriptor mp3 like formats
Part-of: <
gstreamer/gst-devtools!216
>
parent
56b745f4
Pipeline
#182156
passed with stages
in 25 minutes and 31 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
validate/gst/validate/media-descriptor-writer.c
validate/gst/validate/media-descriptor-writer.c
+10
-1
No files found.
validate/gst/validate/media-descriptor-writer.c
View file @
bab10bd0
...
...
@@ -723,7 +723,16 @@ gst_validate_media_descriptor_writer_new_discover (GstValidateRunner * runner,
gst_validate_media_descriptor_writer_add_stream
(
writer
,
streaminfo
);
}
}
else
{
gst_validate_media_descriptor_writer_add_stream
(
writer
,
streaminfo
);
if
(
!
GST_IS_DISCOVERER_AUDIO_INFO
(
info
)
&&
!
GST_IS_DISCOVERER_AUDIO_INFO
(
info
)
&&
gst_discoverer_stream_info_get_next
(
streaminfo
))
{
((
GstValidateMediaDescriptor
*
)
writer
)
->
filenode
->
caps
=
gst_discoverer_stream_info_get_caps
(
streaminfo
);
streaminfo
=
gst_discoverer_stream_info_get_next
(
streaminfo
);
}
do
{
gst_validate_media_descriptor_writer_add_stream
(
writer
,
streaminfo
);
}
while
((
streaminfo
=
gst_discoverer_stream_info_get_next
(
streaminfo
)));
}
}
else
{
GST_VALIDATE_REPORT
(
writer
,
FILE_NO_STREAM_INFO
,
...
...
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