Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0ae5edc8
Commit
0ae5edc8
authored
Nov 20, 2023
by
Alfred Agrell
Committed by
Alexandre Julliard
Dec 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Don't use VIDEOINFO for non-RGB data.
parent
95b8d7fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
quartz_parser.c
dlls/winegstreamer/quartz_parser.c
+2
-2
No files found.
dlls/winegstreamer/quartz_parser.c
View file @
0ae5edc8
...
@@ -594,7 +594,7 @@ static bool amt_from_wg_format_video(AM_MEDIA_TYPE *mt, const struct wg_format *
...
@@ -594,7 +594,7 @@ static bool amt_from_wg_format_video(AM_MEDIA_TYPE *mt, const struct wg_format *
static
bool
amt_from_wg_format_video_cinepak
(
AM_MEDIA_TYPE
*
mt
,
const
struct
wg_format
*
format
)
static
bool
amt_from_wg_format_video_cinepak
(
AM_MEDIA_TYPE
*
mt
,
const
struct
wg_format
*
format
)
{
{
VIDEOINFO
*
video_format
;
VIDEOINFO
HEADER
*
video_format
;
uint32_t
frame_time
;
uint32_t
frame_time
;
if
(
!
(
video_format
=
CoTaskMemAlloc
(
sizeof
(
*
video_format
))))
if
(
!
(
video_format
=
CoTaskMemAlloc
(
sizeof
(
*
video_format
))))
...
@@ -605,7 +605,7 @@ static bool amt_from_wg_format_video_cinepak(AM_MEDIA_TYPE *mt, const struct wg_
...
@@ -605,7 +605,7 @@ static bool amt_from_wg_format_video_cinepak(AM_MEDIA_TYPE *mt, const struct wg_
mt
->
bTemporalCompression
=
TRUE
;
mt
->
bTemporalCompression
=
TRUE
;
mt
->
lSampleSize
=
1
;
mt
->
lSampleSize
=
1
;
mt
->
formattype
=
FORMAT_VideoInfo
;
mt
->
formattype
=
FORMAT_VideoInfo
;
mt
->
cbFormat
=
sizeof
(
VIDEOINFOHEADER
);
mt
->
cbFormat
=
sizeof
(
*
video_format
);
mt
->
pbFormat
=
(
BYTE
*
)
video_format
;
mt
->
pbFormat
=
(
BYTE
*
)
video_format
;
memset
(
video_format
,
0
,
sizeof
(
*
video_format
));
memset
(
video_format
,
0
,
sizeof
(
*
video_format
));
...
...
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