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
6c8cb0ab
Commit
6c8cb0ab
authored
Oct 05, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Use strmbase_dump_media_type() where appropriate.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e1150b86
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
16 deletions
+1
-16
gst_private.h
dlls/winegstreamer/gst_private.h
+0
-3
gstdemux.c
dlls/winegstreamer/gstdemux.c
+1
-1
gsttffilter.c
dlls/winegstreamer/gsttffilter.c
+0
-3
main.c
dlls/winegstreamer/main.c
+0
-9
No files found.
dlls/winegstreamer/gst_private.h
View file @
6c8cb0ab
...
...
@@ -35,9 +35,6 @@
#define MEDIATIME_FROM_BYTES(x) ((LONGLONG)(x) * 10000000)
/* enum media */
void
dump_AM_MEDIA_TYPE
(
const
AM_MEDIA_TYPE
*
pmt
);
IUnknown
*
CALLBACK
avi_splitter_create
(
IUnknown
*
outer
,
HRESULT
*
phr
)
DECLSPEC_HIDDEN
;
IUnknown
*
CALLBACK
mpeg_splitter_create
(
IUnknown
*
outer
,
HRESULT
*
phr
)
DECLSPEC_HIDDEN
;
IUnknown
*
CALLBACK
Gstreamer_AudioConvert_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
);
...
...
dlls/winegstreamer/gstdemux.c
View file @
6c8cb0ab
...
...
@@ -1976,7 +1976,7 @@ static HRESULT WINAPI GSTInPin_ReceiveConnection(IPin *iface, IPin *pReceivePin,
HRESULT
hr
=
S_OK
;
TRACE
(
"filter %p, peer %p, mt %p.
\n
"
,
filter
,
pReceivePin
,
pmt
);
dump_AM_MEDIA_TYPE
(
pmt
);
strmbase_dump_media_type
(
pmt
);
mark_wine_thread
();
...
...
dlls/winegstreamer/gsttffilter.c
View file @
6c8cb0ab
...
...
@@ -509,7 +509,6 @@ static HRESULT WINAPI Gstreamer_Mp3_QueryConnect(TransformFilter *iface, const A
{
GstTfImpl
*
This
=
(
GstTfImpl
*
)
iface
;
TRACE
(
"%p %p
\n
"
,
This
,
amt
);
dump_AM_MEDIA_TYPE
(
amt
);
if
(
(
!
IsEqualGUID
(
&
amt
->
majortype
,
&
MEDIATYPE_Audio
)
&&
!
IsEqualGUID
(
&
amt
->
majortype
,
&
MEDIATYPE_Stream
))
||
...
...
@@ -649,7 +648,6 @@ static HRESULT WINAPI Gstreamer_YUV_QueryConnect(TransformFilter *iface, const A
{
GstTfImpl
*
This
=
(
GstTfImpl
*
)
iface
;
TRACE
(
"%p %p
\n
"
,
This
,
amt
);
dump_AM_MEDIA_TYPE
(
amt
);
if
(
!
IsEqualGUID
(
&
amt
->
majortype
,
&
MEDIATYPE_Video
)
||
(
!
IsEqualGUID
(
&
amt
->
formattype
,
&
FORMAT_VideoInfo
)
&&
...
...
@@ -885,7 +883,6 @@ static HRESULT WINAPI Gstreamer_AudioConvert_QueryConnect(TransformFilter *iface
{
GstTfImpl
*
This
=
(
GstTfImpl
*
)
iface
;
TRACE
(
"%p %p
\n
"
,
This
,
amt
);
dump_AM_MEDIA_TYPE
(
amt
);
if
(
!
IsEqualGUID
(
&
amt
->
majortype
,
&
MEDIATYPE_Audio
)
||
!
IsEqualGUID
(
&
amt
->
subtype
,
&
MEDIASUBTYPE_PCM
)
||
...
...
dlls/winegstreamer/main.c
View file @
6c8cb0ab
...
...
@@ -412,15 +412,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return
hr
;
}
/* GStreamer common functions */
void
dump_AM_MEDIA_TYPE
(
const
AM_MEDIA_TYPE
*
pmt
)
{
if
(
!
pmt
)
return
;
TRACE
(
"
\t
%s
\n\t
%s
\n\t
...
\n\t
%s
\n
"
,
debugstr_guid
(
&
pmt
->
majortype
),
debugstr_guid
(
&
pmt
->
subtype
),
debugstr_guid
(
&
pmt
->
formattype
));
}
static
BOOL
CALLBACK
init_gstreamer_proc
(
INIT_ONCE
*
once
,
void
*
param
,
void
**
ctx
)
{
BOOL
*
status
=
param
;
...
...
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