Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c36af9e9
Commit
c36af9e9
authored
Oct 20, 2023
by
Alfred Agrell
Committed by
Alexandre Julliard
Nov 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Don't read format from unparsed MPEG audio.
parent
acad4957
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wg_format.c
dlls/winegstreamer/wg_format.c
+2
-1
No files found.
dlls/winegstreamer/wg_format.c
View file @
c36af9e9
...
...
@@ -286,6 +286,7 @@ void wg_format_from_caps(struct wg_format *format, const GstCaps *caps)
{
const
GstStructure
*
structure
=
gst_caps_get_structure
(
caps
,
0
);
const
char
*
name
=
gst_structure_get_name
(
structure
);
gboolean
parsed
;
memset
(
format
,
0
,
sizeof
(
*
format
));
...
...
@@ -303,7 +304,7 @@ void wg_format_from_caps(struct wg_format *format, const GstCaps *caps)
if
(
gst_video_info_from_caps
(
&
info
,
caps
))
wg_format_from_video_info
(
format
,
&
info
);
}
else
if
(
!
strcmp
(
name
,
"audio/mpeg"
))
else
if
(
!
strcmp
(
name
,
"audio/mpeg"
)
&&
gst_structure_get_boolean
(
structure
,
"parsed"
,
&
parsed
)
&&
parsed
)
{
wg_format_from_caps_audio_mpeg1
(
format
,
caps
);
}
...
...
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