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
c6d85fc2
Commit
c6d85fc2
authored
Feb 02, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Move the "flip" field to struct wg_parser_stream.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b00e25a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gstdemux.c
dlls/winegstreamer/gstdemux.c
+3
-3
No files found.
dlls/winegstreamer/gstdemux.c
View file @
c6d85fc2
...
...
@@ -77,6 +77,7 @@ struct wg_parser
struct
wg_parser_stream
{
GstPad
*
their_src
,
*
post_sink
,
*
post_src
,
*
my_sink
;
GstElement
*
flip
;
GstSegment
*
segment
;
};
...
...
@@ -139,7 +140,6 @@ struct parser_source
struct
wg_parser_stream
*
wg_stream
;
GstElement
*
flip
;
GstCaps
*
caps
;
SourceSeeking
seek
;
...
...
@@ -1335,7 +1335,7 @@ static void init_new_decoded_pad(GstElement *bin, GstPad *pad, struct parser *Th
stream
->
post_sink
=
gst_element_get_static_pad
(
deinterlace
,
"sink"
);
stream
->
post_src
=
gst_element_get_static_pad
(
vconv2
,
"src"
);
pin
->
flip
=
flip
;
stream
->
flip
=
flip
;
}
else
if
(
!
strcmp
(
typename
,
"audio/x-raw"
))
{
...
...
@@ -2417,7 +2417,7 @@ static HRESULT WINAPI GSTOutPin_DecideBufferSize(struct strmbase_source *iface,
VIDEOINFOHEADER
*
format
=
(
VIDEOINFOHEADER
*
)
pin
->
pin
.
pin
.
mt
.
pbFormat
;
buffer_size
=
format
->
bmiHeader
.
biSizeImage
;
gst_util_set_object_arg
(
G_OBJECT
(
pin
->
flip
),
"method"
,
gst_util_set_object_arg
(
G_OBJECT
(
stream
->
flip
),
"method"
,
(
format
->
bmiHeader
.
biCompression
==
BI_RGB
||
format
->
bmiHeader
.
biCompression
==
BI_BITFIELDS
)
?
"vertical-flip"
:
"none"
);
}
...
...
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