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
5c24b7e5
Commit
5c24b7e5
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: Use the new output_compressed property instead of mpegaudioparse in MPEG splitter.
parent
4592662d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
28 deletions
+1
-28
quartz_parser.c
dlls/winegstreamer/quartz_parser.c
+1
-1
unixlib.h
dlls/winegstreamer/unixlib.h
+0
-1
wg_parser.c
dlls/winegstreamer/wg_parser.c
+0
-26
No files found.
dlls/winegstreamer/quartz_parser.c
View file @
5c24b7e5
...
...
@@ -2214,7 +2214,7 @@ HRESULT mpeg_splitter_create(IUnknown *outer, IUnknown **out)
struct
parser
*
object
;
HRESULT
hr
;
if
(
FAILED
(
hr
=
parser_create
(
WG_PARSER_
MPEGAUDIOPARSE
,
FALS
E
,
&
object
)))
if
(
FAILED
(
hr
=
parser_create
(
WG_PARSER_
DECODEBIN
,
TRU
E
,
&
object
)))
return
hr
;
strmbase_filter_init
(
&
object
->
filter
,
outer
,
&
CLSID_MPEG1Splitter
,
&
mpeg_splitter_ops
);
...
...
dlls/winegstreamer/unixlib.h
View file @
5c24b7e5
...
...
@@ -202,7 +202,6 @@ enum wg_parser_type
{
WG_PARSER_DECODEBIN
,
WG_PARSER_AVIDEMUX
,
WG_PARSER_MPEGAUDIOPARSE
,
WG_PARSER_WAVPARSE
,
};
...
...
dlls/winegstreamer/wg_parser.c
View file @
5c24b7e5
...
...
@@ -1806,31 +1806,6 @@ static BOOL avi_parser_init_gst(struct wg_parser *parser)
return
TRUE
;
}
static
BOOL
mpeg_audio_parser_init_gst
(
struct
wg_parser
*
parser
)
{
struct
wg_parser_stream
*
stream
;
GstElement
*
element
;
if
(
!
(
element
=
create_element
(
"mpegaudioparse"
,
"good"
)))
return
FALSE
;
gst_bin_add
(
GST_BIN
(
parser
->
container
),
element
);
if
(
!
link_src_to_element
(
parser
->
my_src
,
element
))
return
FALSE
;
if
(
!
(
stream
=
create_stream
(
parser
)))
return
FALSE
;
if
(
!
link_element_to_sink
(
element
,
stream
->
my_sink
))
return
FALSE
;
gst_pad_set_active
(
stream
->
my_sink
,
1
);
parser
->
no_more_pads
=
true
;
return
TRUE
;
}
static
BOOL
wave_parser_init_gst
(
struct
wg_parser
*
parser
)
{
struct
wg_parser_stream
*
stream
;
...
...
@@ -1862,7 +1837,6 @@ static NTSTATUS wg_parser_create(void *args)
{
[
WG_PARSER_DECODEBIN
]
=
decodebin_parser_init_gst
,
[
WG_PARSER_AVIDEMUX
]
=
avi_parser_init_gst
,
[
WG_PARSER_MPEGAUDIOPARSE
]
=
mpeg_audio_parser_init_gst
,
[
WG_PARSER_WAVPARSE
]
=
wave_parser_init_gst
,
};
...
...
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