summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples/simpleua.c
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2012-04-13 08:16:30 +0000
committerLiong Sauw Ming <ming@teluu.com>2012-04-13 08:16:30 +0000
commit247215c6f68a2e45454564d5af542ae024113ed2 (patch)
tree2a743ba0c7da70600e6e7a635d3668a956f21cdc /pjsip-apps/src/samples/simpleua.c
parent6661249007b351cd95d5c3b7dddd61d808078b6d (diff)
Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to PJMEDIA_HAS_FFMPEG_CODEC.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4051 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples/simpleua.c')
-rw-r--r--pjsip-apps/src/samples/simpleua.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pjsip-apps/src/samples/simpleua.c b/pjsip-apps/src/samples/simpleua.c
index 58cde4c0..68c50b9b 100644
--- a/pjsip-apps/src/samples/simpleua.c
+++ b/pjsip-apps/src/samples/simpleua.c
@@ -385,11 +385,11 @@ int main(int argc, char *argv[])
status = pjmedia_vid_dev_subsys_init(&cp.factory);
PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1);
-# if defined(PJMEDIA_HAS_FFMPEG_CODEC) && PJMEDIA_HAS_FFMPEG_CODEC!=0
+# if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0
/* Init ffmpeg video codecs */
- status = pjmedia_codec_ffmpeg_init(NULL, &cp.factory);
+ status = pjmedia_codec_ffmpeg_vid_init(NULL, &cp.factory);
PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1);
-# endif /* PJMEDIA_HAS_FFMPEG_CODEC */
+# endif /* PJMEDIA_HAS_FFMPEG_VID_CODEC */
#endif /* PJMEDIA_HAS_VIDEO */
@@ -573,8 +573,8 @@ int main(int argc, char *argv[])
pjmedia_vid_stream_destroy(g_med_vstream);
/* Deinit ffmpeg codec */
-# if defined(PJMEDIA_HAS_FFMPEG_CODEC) && PJMEDIA_HAS_FFMPEG_CODEC!=0
- pjmedia_codec_ffmpeg_deinit();
+# if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0
+ pjmedia_codec_ffmpeg_vid_deinit();
# endif
#endif