- Timestamp:
- Apr 6, 2011 2:56:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
r3500 r3501 352 352 } 353 353 354 if (ff->param.dir & PJMEDIA_DIR_DECODING) { 355 AVCodecContext *ctx = ff->dec_ctx; 356 357 /* Apply the "sprop-parameter-sets" fmtp from remote SDP to 358 * extradata of ffmpeg codec context. 359 */ 360 if (data->fmtp.sprop_param_sets_len) { 361 ctx->extradata_size = data->fmtp.sprop_param_sets_len; 362 ctx->extradata = data->fmtp.sprop_param_sets; 363 } 364 } 365 354 366 return PJ_SUCCESS; 355 367 } … … 359 371 h264_data *data = (h264_data*)ff->data; 360 372 PJ_UNUSED_ARG(data); 361 362 // Where to apply the "sprop-parameter-sets" fmtp from remote SDP?363 // Through decoder decode() or decoder context extradata?364 PJ_TODO(apply_h264_fmtp_sprop_parameter_sets_from_remote_sdp);365 366 373 return PJ_SUCCESS; 367 374 }
Note: See TracChangeset
for help on using the changeset viewer.