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
0cd9fe84
Commit
0cd9fe84
authored
Feb 25, 2015
by
Ghislain MARY
Browse files
Fix build of unit tests with VS2013.
parent
ebbd1094
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
include/mediastreamer2/mediastream.h
include/mediastreamer2/mediastream.h
+1
-1
tester/mediastreamer2_tester.c
tester/mediastreamer2_tester.c
+9
-1
No files found.
include/mediastreamer2/mediastream.h
View file @
0cd9fe84
...
...
@@ -749,7 +749,7 @@ MS2_PUBLIC float video_stream_get_received_framerate(const VideoStream *stream);
/**
* Returns the name of the video display filter on the current platform.
**/
const
char
*
video_stream_get_default_video_renderer
(
void
);
MS2_PUBLIC
const
char
*
video_stream_get_default_video_renderer
(
void
);
MS2_PUBLIC
void
video_stream_enable_self_view
(
VideoStream
*
stream
,
bool_t
val
);
MS2_PUBLIC
unsigned
long
video_stream_get_native_window_id
(
VideoStream
*
stream
);
...
...
tester/mediastreamer2_tester.c
View file @
0cd9fe84
...
...
@@ -301,7 +301,15 @@ void helper(const char *name) {
return -1; \
}
#ifndef WINAPI_FAMILY_PHONE_APP
#if defined(WIN32) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#define BUILD_ENTRY_POINT 1
#elif TARGET_OS_MAC || TARGET_OS_IPHONE
#define BUILD_ENTRY_POINT 1
#else
#define BUILD_ENTRY_POINT 0
#endif
#if BUILD_ENTRY_POINT
#if TARGET_OS_MAC || TARGET_OS_IPHONE
int
apple_main
(
int
argc
,
char
*
argv
[])
{
#else
...
...
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