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
6becc9e1
Commit
6becc9e1
authored
Jul 22, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jul 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Fix end of file handling when first request is already end of file.
parent
89f4eeec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
avisplit.c
dlls/quartz/avisplit.c
+5
-2
No files found.
dlls/quartz/avisplit.c
View file @
6becc9e1
...
...
@@ -449,6 +449,8 @@ static HRESULT AVISplitter_first_request(LPVOID iface)
have_sample
=
(
hr
==
S_OK
);
if
(
FAILED
(
hr
))
break
;
if
(
hr
==
S_FALSE
)
AVISplitter_SendEndOfFile
(
This
,
x
);
}
/* FIXME: Don't do this for each pin that sent an EOF */
...
...
@@ -976,8 +978,9 @@ static HRESULT AVISplitter_InitializeStreams(AVISplitterImpl *This)
frames
/=
stream
->
streamheader
.
dwRate
;
TRACE
(
"Duration: %d days, %d hours, %d minutes and %d seconds
\n
"
,
(
DWORD
)(
frames
/
86400
),
(
DWORD
)((
frames
%
86400
)
/
3600
),
(
DWORD
)((
frames
%
3600
)
/
60
),
(
DWORD
)(
frames
%
60
));
TRACE
(
"Duration: %d days, %d hours, %d minutes and %d.%03u seconds
\n
"
,
(
DWORD
)(
frames
/
86400
),
(
DWORD
)((
frames
%
86400
)
/
3600
),
(
DWORD
)((
frames
%
3600
)
/
60
),
(
DWORD
)(
frames
%
60
),
(
DWORD
)(
This
->
Parser
.
mediaSeeking
.
llDuration
/
10000
)
%
1000
);
}
return
S_OK
;
...
...
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