Changeset 3776 for pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c
- Timestamp:
- Sep 29, 2011 8:31:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c
r3667 r3776 302 302 write_frame.buf = play_file->dec_buf; 303 303 write_frame.size = play_file->dec_buf_size; 304 status = decoder->op->decode(decoder, &read_frame, write_frame.size,305 304 status = pjmedia_vid_codec_decode(decoder, 1, &read_frame, 305 write_frame.size, &write_frame); 306 306 if (status != PJ_SUCCESS) 307 307 return; … … 616 616 pjmedia_video_format_detail *file_vfd; 617 617 pjmedia_clock_param clock_param; 618 char fmt_name[5]; 618 619 619 620 /* Create file player */ … … 625 626 file_vfd = pjmedia_format_get_video_format_detail(&play_port->info.fmt, 626 627 PJ_TRUE); 627 PJ_LOG(2, (THIS_FILE, "Reading video stream %dx%d % c%c%c%c@%.2ffps",628 PJ_LOG(2, (THIS_FILE, "Reading video stream %dx%d %s @%.2ffps", 628 629 file_vfd->size.w, file_vfd->size.h, 629 ((play_port->info.fmt.id & 0x000000FF) >> 0), 630 ((play_port->info.fmt.id & 0x0000FF00) >> 8), 631 ((play_port->info.fmt.id & 0x00FF0000) >> 16), 632 ((play_port->info.fmt.id & 0xFF000000) >> 24), 630 pjmedia_fourcc_name(play_port->info.fmt.id, fmt_name), 633 631 (1.0*file_vfd->fps.num/file_vfd->fps.denum))); 634 632
Note: See TracChangeset
for help on using the changeset viewer.