- Timestamp:
- Jul 15, 2011 7:52:44 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/sdl_dev.c
r3640 r3658 135 135 { 136 136 pjmedia_vid_dev_stream base; /**< Base stream */ 137 pjmedia_vid_ paramparam; /**< Settings */137 pjmedia_vid_dev_param param; /**< Settings */ 138 138 pj_pool_t *pool; /**< Memory pool. */ 139 139 140 pjmedia_vid_ cb vid_cb; /**< Stream callback. */140 pjmedia_vid_dev_cb vid_cb; /**< Stream callback. */ 141 141 void *user_data; /**< Application data. */ 142 142 … … 195 195 pjmedia_vid_dev_factory *f, 196 196 unsigned index, 197 pjmedia_vid_ param *param);197 pjmedia_vid_dev_param *param); 198 198 static pj_status_t sdl_factory_create_stream( 199 199 pjmedia_vid_dev_factory *f, 200 pjmedia_vid_ param *param,201 const pjmedia_vid_ cb *cb,200 pjmedia_vid_dev_param *param, 201 const pjmedia_vid_dev_cb *cb, 202 202 void *user_data, 203 203 pjmedia_vid_dev_stream **p_vid_strm); 204 204 205 205 static pj_status_t sdl_stream_get_param(pjmedia_vid_dev_stream *strm, 206 pjmedia_vid_ param *param);206 pjmedia_vid_dev_param *param); 207 207 static pj_status_t sdl_stream_get_cap(pjmedia_vid_dev_stream *strm, 208 208 pjmedia_vid_dev_cap cap, … … 321 321 #endif 322 322 323 ddi->info.fmt = (pjmedia_format*)324 pj_pool_calloc(sf->pool, ddi->info.fmt_cnt,325 sizeof(pjmedia_format));326 323 for (j = 0; j < ddi->info.fmt_cnt; j++) { 327 324 pjmedia_format *fmt = &ddi->info.fmt[j]; … … 392 389 pjmedia_vid_dev_factory *f, 393 390 unsigned index, 394 pjmedia_vid_ param *param)391 pjmedia_vid_dev_param *param) 395 392 { 396 393 struct sdl_factory *sf = (struct sdl_factory*)f; … … 991 988 static pj_status_t sdl_factory_create_stream( 992 989 pjmedia_vid_dev_factory *f, 993 pjmedia_vid_ param *param,994 const pjmedia_vid_ cb *cb,990 pjmedia_vid_dev_param *param, 991 const pjmedia_vid_dev_cb *cb, 995 992 void *user_data, 996 993 pjmedia_vid_dev_stream **p_vid_strm) … … 1076 1073 /* API: Get stream info. */ 1077 1074 static pj_status_t sdl_stream_get_param(pjmedia_vid_dev_stream *s, 1078 pjmedia_vid_ param *pi)1075 pjmedia_vid_dev_param *pi) 1079 1076 { 1080 1077 struct sdl_stream *strm = (struct sdl_stream*)s;
Note: See TracChangeset
for help on using the changeset viewer.