Changeset 2792
- Timestamp:
- Jun 24, 2009 3:46:49 PM (15 years ago)
- Location:
- pjproject/branches/1.0
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.0
- Property svn:mergeinfo changed
/pjproject/trunk merged: 2760
- Property svn:mergeinfo changed
-
pjproject/branches/1.0/pjmedia/src/pjmedia-codec/g722.c
r2791 r2792 553 553 NULL); 554 554 if (is_silence && 555 PJMEDIA_CODEC_MAX_SILENCE_PERIOD != -1 &&556 silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*16000/1000)555 (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || 556 silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*16000/1000)) 557 557 { 558 558 output->type = PJMEDIA_FRAME_TYPE_NONE; -
pjproject/branches/1.0/pjmedia/src/pjmedia-codec/gsm.c
r2791 r2792 543 543 NULL); 544 544 if (is_silence && 545 PJMEDIA_CODEC_MAX_SILENCE_PERIOD != -1 &&546 silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)545 (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || 546 silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)) 547 547 { 548 548 output->type = PJMEDIA_FRAME_TYPE_NONE; -
pjproject/branches/1.0/pjmedia/src/pjmedia-codec/ilbc.c
r2394 r2792 564 564 NULL); 565 565 if (is_silence && 566 PJMEDIA_CODEC_MAX_SILENCE_PERIOD != -1 &&567 silence_period < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)566 (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || 567 silence_period < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)) 568 568 { 569 569 output->type = PJMEDIA_FRAME_TYPE_NONE; -
pjproject/branches/1.0/pjmedia/src/pjmedia-codec/ipp_codecs.c
r2543 r2792 1173 1173 NULL); 1174 1174 if (is_silence && 1175 PJMEDIA_CODEC_MAX_SILENCE_PERIOD != -1 &&1176 silence_duration < (PJMEDIA_CODEC_MAX_SILENCE_PERIOD *1177 (int)ippc->clock_rate / 1000))1175 (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || 1176 silence_duration < (PJMEDIA_CODEC_MAX_SILENCE_PERIOD * 1177 (int)ippc->clock_rate / 1000))) 1178 1178 { 1179 1179 output->type = PJMEDIA_FRAME_TYPE_NONE; -
pjproject/branches/1.0/pjmedia/src/pjmedia-codec/l16.c
r2791 r2792 625 625 NULL); 626 626 if (is_silence && 627 PJMEDIA_CODEC_MAX_SILENCE_PERIOD != -1 &&628 silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*629 (int)data->clock_rate/1000)627 (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || 628 silence_duration < PJMEDIA_CODEC_MAX_SILENCE_PERIOD* 629 (int)data->clock_rate/1000)) 630 630 { 631 631 output->type = PJMEDIA_FRAME_TYPE_NONE; -
pjproject/branches/1.0/pjmedia/src/pjmedia/g711.c
r2791 r2792 503 503 (input->size >> 1), NULL); 504 504 if (is_silence && 505 PJMEDIA_CODEC_MAX_SILENCE_PERIOD != -1 &&506 silence_period < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)505 (PJMEDIA_CODEC_MAX_SILENCE_PERIOD == -1 || 506 silence_period < PJMEDIA_CODEC_MAX_SILENCE_PERIOD*8000/1000)) 507 507 { 508 508 output->type = PJMEDIA_FRAME_TYPE_NONE;
Note: See TracChangeset
for help on using the changeset viewer.