Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b0288ab5
Commit
b0288ab5
authored
Oct 04, 2006
by
damienf
Browse files
- directshow: added fps in debug info
parent
ff6739d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/dshow/filter.cpp
View file @
b0288ab5
...
...
@@ -614,10 +614,11 @@ STDMETHODIMP CapturePin::QueryAccept( const AM_MEDIA_TYPE *pmt )
}
msg_Dbg
(
p_input
,
"CapturePin::QueryAccept [OK] "
"(width=%ld, height=%ld, chroma=%4.4s)"
,
"(width=%ld, height=%ld, chroma=%4.4s
, fps=%f
)"
,
((
VIDEOINFOHEADER
*
)
pmt
->
pbFormat
)
->
bmiHeader
.
biWidth
,
((
VIDEOINFOHEADER
*
)
pmt
->
pbFormat
)
->
bmiHeader
.
biHeight
,
(
char
*
)
&
i_fourcc
);
(
char
*
)
&
i_fourcc
,
10000000.0
f
/
((
float
)((
VIDEOINFOHEADER
*
)
pmt
->
pbFormat
)
->
AvgTimePerFrame
)
);
}
else
if
(
pmt
->
majortype
==
MEDIATYPE_Audio
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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