Ignore:
Timestamp:
Dec 30, 2010 4:31:16 PM (13 years ago)
Author:
ming
Message:

Re #1184: Adding pjmedia_clock_src for the purpose of audio and video synchronization and also to provide synchronization mechanism between two medias in general.

File:
1 edited

Legend:

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

    r3392 r3402  
    4141 
    4242#define THIS_FILE               "dshow_dev.c" 
     43#define DEFAULT_CLOCK_RATE      90000 
    4344#define DEFAULT_WIDTH           640 
    4445#define DEFAULT_HEIGHT          480 
     
    394395 
    395396    /* Set the device capabilities here */ 
    396     param->clock_rate = 9000; 
    397     param->frame_rate.num = 14; 
     397    param->clock_rate = DEFAULT_CLOCK_RATE; 
     398    param->frame_rate.num = DEFAULT_FPS; 
    398399    param->frame_rate.denum = 1; 
    399400    param->flags = PJMEDIA_VID_DEV_CAP_FORMAT; 
Note: See TracChangeset for help on using the changeset viewer.