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
0cbc59ea
Commit
0cbc59ea
authored
May 07, 2014
by
jehan
Browse files
fix compilation issue
parent
c404e816
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
src/videofilters/vp8.c
src/videofilters/vp8.c
+2
-0
src/voip/vp8rtpfmt.c
src/voip/vp8rtpfmt.c
+1
-1
tools/pcap_playback.c
tools/pcap_playback.c
+1
-1
No files found.
src/videofilters/vp8.c
View file @
0cbc59ea
...
...
@@ -430,9 +430,11 @@ static void dec_init(MSFilter *f) {
if
(
caps
&
VPX_CODEC_CAP_ERROR_CONCEALMENT
)
{
flags
|=
VPX_CODEC_USE_ERROR_CONCEALMENT
;
}
#ifdef VPX_CODEC_CAP_FRAME_THREADING
if
((
caps
&
VPX_CODEC_CAP_FRAME_THREADING
)
&&
(
ms_get_cpu_count
()
>
1
))
{
flags
|=
VPX_CODEC_USE_FRAME_THREADING
;
}
#endif
if
((
caps
&
VPX_CODEC_CAP_POSTPROC
)
&&
(
ms_get_cpu_count
()
>
1
))
{
flags
|=
VPX_CODEC_USE_POSTPROC
;
}
...
...
src/voip/vp8rtpfmt.c
View file @
0cbc59ea
...
...
@@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "vp8rtpfmt.h"
/
/
#define VP8RTPFMT_DEBUG
/
*
#define VP8RTPFMT_DEBUG
*/
#define VP8RTPFMT_OUTPUT_INCOMPLETE_FRAMES
...
...
tools/pcap_playback.c
View file @
0cbc59ea
...
...
@@ -225,7 +225,7 @@ static void setup_media_streams(MediastreamDatas *args)
ms_filter_call_method
(
args
->
read
,
MS_FILE_PLAYER_OPEN
,
args
->
infile
);
ms_filter_call_method
(
args
->
read
,
MS_FILTER_SET_SAMPLE_RATE
,
&
args
->
pt
->
clock_rate
);
ms_filter_call_method_noarg
(
args
->
read
,
MS_FILE_PLAYER_START
);
ms_filter_
set
_notify_callback
(
args
->
read
,
reader_notify_cb
,
NULL
);
ms_filter_
add
_notify_callback
(
args
->
read
,
reader_notify_cb
,
NULL
,
FALSE
);
/*force the decoder to output YUV420P */
format
=
MS_YUV420P
;
...
...
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