Changeset 3972 for pjproject/trunk
- Timestamp:
- Mar 9, 2012 3:29:05 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
r3922 r3972 212 212 to copy this codec desc 213 213 from its base format */ 214 pjmedia_rect_size size; 215 pjmedia_ratio fps; 214 216 pj_uint32_t avg_bps; 215 217 pj_uint32_t max_bps; … … 256 258 {PJMEDIA_FORMAT_H264, PJMEDIA_RTP_PT_H264, {"H264",4}, 257 259 {"Constrained Baseline (level=30, pack=1)", 39}}, 258 0, 256000, 512000, 260 0, 261 {720, 480}, {30, 1}, 256000, 512000, 259 262 &h264_packetize, &h264_unpacketize, &h264_preopen, &h264_postopen, 260 263 &pjmedia_vid_codec_h264_match_sdp, … … 268 271 { 269 272 {PJMEDIA_FORMAT_H263P, PJMEDIA_RTP_PT_H263P, {"H263-1998",9}}, 270 PJMEDIA_FORMAT_H263, 256000, 512000, 273 PJMEDIA_FORMAT_H263, 274 {352, 288}, {30000, 1001}, 256000, 512000, 271 275 &h263_packetize, &h263_unpacketize, &h263_preopen, NULL, NULL, 272 276 {2, { {{"CIF",3}, {"1",1}}, … … 914 918 /* Encoded format */ 915 919 pjmedia_format_init_video(&attr->enc_fmt, desc->info.fmt_id, 916 720, 480, 30000, 1001); 920 desc->size.w, desc->size.h, 921 desc->fps.num, desc->fps.denum); 917 922 918 923 /* Decoded format */ 919 924 pjmedia_format_init_video(&attr->dec_fmt, desc->info.dec_fmt_id[0], 920 //352, 288, 30000, 1001);921 720, 576, 30000, 1001);925 desc->size.w, desc->size.h, 926 desc->fps.num*3/2, desc->fps.denum); 922 927 923 928 /* Decoding fmtp */
Note: See TracChangeset
for help on using the changeset viewer.