Ignore:
Timestamp:
Dec 20, 2010 11:02:48 AM (12 years ago)
Author:
ming
Message:

Fixed #1184:

  • Move the AVI playback from pjmedia-test to new aviplay.c sample application
  • Take the input file from cmdline
  • Synchronize audio and video
  • Remove all codecs related hardcodes from the file

Re #1193: (no. 6: duplicate fps and frame_rate in pjmedia_format and pjmedia_vid_param)

  • Remove the frame_rate in pjmedia_vid_param
  • Use pjmedia_format's fps in videoport, sdl_dev, and colorbar_dev
  • Prevent overflow in ptime calculation from frame_rate
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r3395 r3401  
    300300    param->fmt.type = PJMEDIA_TYPE_VIDEO; 
    301301    param->clock_rate = DEFAULT_CLOCK_RATE; 
    302     param->frame_rate.num = DEFAULT_FPS; 
    303     param->frame_rate.denum = 1; 
    304302    pjmedia_format_init_video(&param->fmt, sdl_fmts[0].fmt_id, 
    305303                              DEFAULT_WIDTH, DEFAULT_HEIGHT, 
Note: See TracChangeset for help on using the changeset viewer.