Changeset 5659
- Timestamp:
- Sep 25, 2017 2:58:42 AM (7 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ssl_sock_dump.c
r4910 r5659 106 106 /* Subject alternative name extension */ 107 107 if (ci->subj_alt_name.cnt) { 108 unsigned i;109 110 108 len = pj_ansi_snprintf(p, end-p, "%ssubjectAltName extension\n", 111 109 indent); -
pjproject/trunk/pjmedia/src/pjmedia-codec/opus.c
r5374 r5659 458 458 pjmedia_codec_param *attr ) 459 459 { 460 PJ_UNUSED_ARG(factory); 460 461 TRACE_((THIS_FILE, "%s:%d: - TRACE", __FUNCTION__, __LINE__)); 461 462 … … 521 522 struct opus_codec_factory *f = (struct opus_codec_factory*) factory; 522 523 524 PJ_UNUSED_ARG(ci); 523 525 TRACE_((THIS_FILE, "%s:%d: - TRACE", __FUNCTION__, __LINE__)); 524 526 … … 932 934 int fec = 0; 933 935 936 PJ_UNUSED_ARG(output_buf_len); 937 934 938 pj_mutex_lock (opus_data->mutex); 935 939 … … 1019 1023 pjmedia_frame *inframe; 1020 1024 1025 PJ_UNUSED_ARG(output_buf_len); 1021 1026 pj_mutex_lock (opus_data->mutex); 1022 1027 … … 1024 1029 /* Recover the first packet? Don't think so, fill it with zeroes. */ 1025 1030 pj_uint16_t samples_per_frame; 1026 samples_per_frame = ( opus_data->cfg.sample_rate *1027 1031 samples_per_frame = (pj_uint16_t)(opus_data->cfg.sample_rate * 1032 opus_data->ptime) / 1000; 1028 1033 output->type = PJMEDIA_FRAME_TYPE_AUDIO; 1029 1034 output->size = samples_per_frame << 1; -
pjproject/trunk/pjmedia/src/pjmedia-videodev/colorbar_dev.c
r5534 r5659 600 600 if (d->vfi->plane_cnt == 1) { 601 601 for (i = 0; i < 3; ++i) { 602 pj_uint8_t *ptr;603 602 unsigned j, k, inc_ptr; 604 603 pj_size_t dot_size = DOT_SIZE; … … 622 621 623 622 for (i = 0; i < 3; ++i) { 624 pj_uint8_t *ptr,c;623 pj_uint8_t c; 625 624 unsigned j; 626 625 pj_size_t dot_size = DOT_SIZE; -
pjproject/trunk/pjmedia/src/pjmedia/avi_player.c
r5544 r5659 613 613 { 614 614 struct avi_reader_port *fport = (struct avi_reader_port*)this_port; 615 pj_status_t status ;615 pj_status_t status = PJ_SUCCESS; 616 616 pj_ssize_t size_read = 0, size_to_read = 0; 617 617 … … 620 620 /* We encountered end of file */ 621 621 if (fport->eof) { 622 pj_status_t status = PJ_SUCCESS;623 624 622 PJ_LOG(5,(THIS_FILE, "File port %.*s EOF", 625 623 (int)fport->base.info.name.slen, -
pjproject/trunk/pjmedia/src/pjmedia/echo_webrtc.c
r5432 r5659 284 284 sample * out_buf_ptr; 285 285 286 PJ_UNUSED_ARG(options); 287 PJ_UNUSED_ARG(reserved); 288 286 289 /* Sanity checks */ 287 290 PJ_ASSERT_RETURN(echo && rec_frm && play_frm, PJ_EINVAL); … … 329 332 status = WebRtcAec_Process(echo->AEC_inst, &buf_ptr, 330 333 echo->channel_count, &out_buf_ptr, 331 echo->subframe_len, echo->tail, 0);334 echo->subframe_len, (int16_t)echo->tail, 0); 332 335 #endif 333 336 if (status != 0) { -
pjproject/trunk/pjmedia/src/pjmedia/vid_codec_util.c
r5046 r5659 430 430 char *p; 431 431 pj_uint8_t *nal; 432 pj_status_t status;433 432 434 433 /* Find field separator ',' */ -
pjproject/trunk/pjmedia/src/test/vid_codec_test.c
r5652 r5659 279 279 { 280 280 pj_str_t codec_id_st; 281 unsigned info_cnt = 1; 282 const pjmedia_vid_codec_info *codec_info; 281 unsigned info_cnt = 1; 283 282 284 283 /* Lookup codec */ -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_cli.c
r5654 r5659 2915 2915 2916 2916 #if PJSUA_HAS_VIDEO 2917 static pj_status_t add_video_command(pj_cli_t *c li)2917 static pj_status_t add_video_command(pj_cli_t *c) 2918 2918 { 2919 2919 char* video_command = … … 3054 3054 3055 3055 pj_str_t xml = pj_str(video_command); 3056 return pj_cli_add_cmd_from_xml(c li, NULL,3056 return pj_cli_add_cmd_from_xml(c, NULL, 3057 3057 &xml, cmd_video_handler, 3058 3058 NULL, get_choice_value); -
pjproject/trunk/pjsip-apps/src/pjsua/winrt/cli/wp8/pjsua_cli_wp8.csproj
r5580 r5659 75 75 <WarningLevel>4</WarningLevel> 76 76 </PropertyGroup> 77 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 78 <DebugSymbols>true</DebugSymbols> 79 <DebugType>full</DebugType> 80 <Optimize>false</Optimize> 81 <OutputPath>Bin\x64\Debug</OutputPath> 82 <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants> 83 <NoStdLib>true</NoStdLib> 84 <NoConfig>true</NoConfig> 85 <ErrorReport>prompt</ErrorReport> 86 <WarningLevel>4</WarningLevel> 87 </PropertyGroup> 88 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 89 <DebugType>pdbonly</DebugType> 90 <Optimize>true</Optimize> 91 <OutputPath>Bin\x64\Release</OutputPath> 92 <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants> 93 <NoStdLib>true</NoStdLib> 94 <NoConfig>true</NoConfig> 95 <ErrorReport>prompt</ErrorReport> 96 <WarningLevel>4</WarningLevel> 97 </PropertyGroup> 77 98 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM' "> 78 99 <DebugSymbols>true</DebugSymbols> … … 124 145 <Content Include="Assets\teluu-logo.png" /> 125 146 </ItemGroup> 126 <ItemGroup> 127 <ProjectReference Include="..\comp\pjsua_cli_wp8_comp.vcxproj"> 128 <Project>{e75efd41-c7f5-44c8-8ff1-a310d920989d}</Project> 129 <Name>pjsua_cli_wp8_comp</Name> 130 </ProjectReference> 131 </ItemGroup> 147 <Choose> 148 <When Condition="'$(API_Family)'=='WinPhone8'"> 149 <ItemGroup> 150 <ProjectReference Include="..\comp\pjsua_cli_wp8_comp.vcxproj"> 151 <Project>{e75efd41-c7f5-44c8-8ff1-a310d920989d}</Project> 152 <Name>pjsua_cli_wp8_comp</Name> 153 </ProjectReference> 154 </ItemGroup> 155 </When> 156 </Choose> 132 157 <Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).$(TargetFrameworkVersion).Overrides.targets" /> 133 158 <Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).CSharp.targets" /> -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r5651 r5659 1043 1043 if (si->dir & PJMEDIA_DIR_ENCODING && !call->local_hold) 1044 1044 { 1045 pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id];1045 pjsua_acc *acc_enc = &pjsua_var.acc[call_med->call->acc_id]; 1046 1046 pjsua_vid_win *w; 1047 1047 pjsua_vid_win_id wid; … … 1074 1074 //acc->cfg.vid_cap_dev, 1075 1075 PJSUA_HIDE_WINDOW, 1076 acc ->cfg.vid_wnd_flags,1076 acc_enc->cfg.vid_wnd_flags, 1077 1077 NULL, 1078 1078 &wid);
Note: See TracChangeset
for help on using the changeset viewer.