Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
59b766e3
Commit
59b766e3
authored
Mar 03, 2015
by
Ghislain MARY
Browse files
Fix build with Visual Studio 2010.
parent
f60fe91b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
tester/mediastreamer2_framework_tester.c
tester/mediastreamer2_framework_tester.c
+2
-2
tester/mediastreamer2_video_stream_tester.c
tester/mediastreamer2_video_stream_tester.c
+4
-3
No files found.
tester/mediastreamer2_framework_tester.c
View file @
59b766e3
...
...
@@ -66,8 +66,8 @@ static void filter_register_tester(void) {
}
#ifdef VIDEO_ENABLED
static
void
test_video_processing
(
void
)
{
MSVideoSize
src_size
=
MS_VIDEO_SIZE_VGA
;
MSVideoSize
src_dest
=
MS_VIDEO_SIZE_VGA
;
MSVideoSize
src_size
=
{
MS_VIDEO_SIZE_VGA
_W
,
MS_VIDEO_SIZE_VGA_H
}
;
MSVideoSize
src_dest
=
{
MS_VIDEO_SIZE_VGA
_W
,
MS_VIDEO_SIZE_VGA_H
}
;
mblk_t
*
yuv_block2
;
YuvBuf
yuv
;
int
y_bytes_per_row
=
src_size
.
width
+
src_size
.
width
%
32
;
...
...
tester/mediastreamer2_video_stream_tester.c
View file @
59b766e3
...
...
@@ -506,10 +506,10 @@ static void video_stream_first_iframe_lost_vp8_base(bool_t use_avpf) {
video_stream_tester_destroy
(
margaux
);
}
static
void
video_stream_first_iframe_lost_vp8
()
{
static
void
video_stream_first_iframe_lost_vp8
(
void
)
{
video_stream_first_iframe_lost_vp8_base
(
FALSE
);
}
static
void
avpf_video_stream_first_iframe_lost_vp8
()
{
static
void
avpf_video_stream_first_iframe_lost_vp8
(
void
)
{
video_stream_first_iframe_lost_vp8_base
(
TRUE
);
}
static
void
avpf_high_loss_video_stream_base
(
float
rate
)
{
...
...
@@ -584,7 +584,8 @@ static void video_configuration_stream(void) {
asked
.
bitrate_limit
=
expected
.
bitrate_limit
=
1024000
;
asked
.
required_bitrate
=
expected
.
required_bitrate
=
1024000
;
asked
.
fps
=
expected
.
fps
=
12
;
asked
.
vsize
=
expected
.
vsize
=
MS_VIDEO_SIZE_VGA
;
asked
.
vsize
.
width
=
expected
.
vsize
.
width
=
MS_VIDEO_SIZE_VGA_W
;
asked
.
vsize
.
height
=
expected
.
vsize
.
height
=
MS_VIDEO_SIZE_VGA_H
;
video_configuration_stream_base
(
&
asked
,
&
expected
,
VP8_PAYLOAD_TYPE
);
/*Test video rotation (inverted height <-> width). Not supported on desktop
...
...
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