summaryrefslogtreecommitdiff
path: root/pjmedia/src
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-17 18:00:19 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-17 18:00:19 +0000
commita53456a95969fe64e907bc7a5abcf4f1dcdce0ba (patch)
treee77ae6c49aaf37f0d98bd60acd3d0766c9d9928b /pjmedia/src
parent701ec428333257e53099c233091323679299c9af (diff)
Fixed bug in stream.c where bits_per_sample is not set properly
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@327 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src')
-rw-r--r--pjmedia/src/pjmedia/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia/stream.c b/pjmedia/src/pjmedia/stream.c
index 128c990b..671e7e59 100644
--- a/pjmedia/src/pjmedia/stream.c
+++ b/pjmedia/src/pjmedia/stream.c
@@ -702,7 +702,7 @@ PJ_DEF(pj_status_t) pjmedia_stream_create( pjmedia_endpt *endpt,
goto err_cleanup;
/* Set additional info. */
- stream->port.info.bits_per_sample = 0;
+ stream->port.info.bits_per_sample = 16;
stream->port.info.samples_per_frame = info->fmt.sample_rate*codec_param.ptime/1000;
stream->port.info.bytes_per_frame = codec_param.avg_bps/8 * codec_param.ptime/1000;