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
6af76b3d
Commit
6af76b3d
authored
Mar 26, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Avoid %ll printf formats.
parent
711275e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
acmwrapper.c
dlls/quartz/acmwrapper.c
+2
-2
mpegsplit.c
dlls/quartz/mpegsplit.c
+3
-3
No files found.
dlls/quartz/acmwrapper.c
View file @
6af76b3d
...
...
@@ -128,7 +128,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
assert
(
hr
==
S_OK
);
assert
(
ash
.
cbSrcLengthUsed
);
TRACE
(
"Sample start time: %
lld.%03lld
\n
"
,
(
tStart
/
10000000
),
(
tStart
/
10000
)
%
1000
);
TRACE
(
"Sample start time: %
u.%03u
\n
"
,
(
DWORD
)(
tStart
/
10000000
),
(
DWORD
)((
tStart
/
10000
)
%
1000
)
);
if
(
ash
.
cbSrcLengthUsed
==
cbSrcStream
)
{
IMediaSample_SetTime
(
pOutSample
,
&
tStart
,
&
tStop
);
...
...
@@ -146,7 +146,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
ERR
(
"No valid timestamp found
\n
"
);
IMediaSample_SetTime
(
pOutSample
,
NULL
,
NULL
);
}
TRACE
(
"Sample stop time: %
lld.%03lld
\n
"
,
(
tStart
/
10000000
),
(
tStart
/
10000
)
%
1000
);
TRACE
(
"Sample stop time: %
u.%03u
\n
"
,
(
DWORD
)(
tStart
/
10000000
),
(
DWORD
)((
tStart
/
10000
)
%
1000
)
);
hr
=
OutputPin_SendSample
((
OutputPin
*
)
This
->
tf
.
ppPins
[
1
],
pOutSample
);
if
(
hr
!=
S_OK
&&
hr
!=
VFW_E_NOT_CONNECTED
)
{
...
...
dlls/quartz/mpegsplit.c
View file @
6af76b3d
...
...
@@ -291,7 +291,7 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, BYTE** fbuf, DWORD *flen)
hr
=
copy_data
(
This
->
pCurrentSample
,
fbuf
,
flen
,
length
);
if
(
FAILED
(
hr
))
{
WARN
(
"Couldn't set data size to %
lld
\n
"
,
length
);
WARN
(
"Couldn't set data size to %
x%08x
\n
"
,
(
DWORD
)(
length
>>
32
),
(
DWORD
)
length
);
This
->
skipbytes
=
length
;
return
hr
;
}
...
...
@@ -313,7 +313,7 @@ out_append:
sampleduration
=
0
;
IMediaSample_SetTime
(
This
->
pCurrentSample
,
&
time
,
&
This
->
position
);
}
TRACE
(
"Media time: %
lld.%03lld
\n
"
,
(
This
->
position
/
10000000
),
(
This
->
position
/
10000
)
%
1000
);
TRACE
(
"Media time: %
u.%03u
\n
"
,
(
DWORD
)(
This
->
position
/
10000000
),
(
DWORD
)((
This
->
position
/
10000
)
%
1000
)
);
hr
=
OutputPin_SendSample
(
&
pOutputPin
->
pin
,
This
->
pCurrentSample
);
if
(
FAILED
(
hr
))
...
...
@@ -662,7 +662,7 @@ static HRESULT MPEGSplitter_pre_connect(IPin *iface, IPin *pConnectPin)
}
}
hr
=
S_OK
;
TRACE
(
"Duration: %
lld seconds
\n
"
,
duration
/
10000000
);
TRACE
(
"Duration: %
d seconds
\n
"
,
(
DWORD
)(
duration
/
10000000
)
);
TRACE
(
"Parsing took %u ms
\n
"
,
GetTickCount
()
-
ticks
);
break
;
}
...
...
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