Ignore:
Timestamp:
Mar 1, 2011 3:55:34 PM (14 years ago)
Author:
ming
Message:

Re #1182:

  • support for format modification after creating video port (currently for renderer with active role only).
  • support for format modification after opening SDL renderer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjsip-apps/src/samples/vid_streamutil.c

    r3425 r3431  
    598598    if (play_file.file_name) { 
    599599        pjmedia_video_format_detail *file_vfd; 
     600        pjmedia_clock_param *clock_param; 
    600601 
    601602        /* Create file player */ 
     
    669670 
    670671        /* Create player clock */ 
    671         status = pjmedia_clock_create2(pool, PJMEDIA_PTIME(&file_vfd->fps), 
    672                                        codec_info->clock_rate, 
     672        clock_param.usec_interval = PJMEDIA_PTIME(&file_vfd->fps); 
     673        clock_param.clock_rate = codec_info->clock_rate; 
     674        status = pjmedia_clock_create2(pool, &clock_param, 
    673675                                       PJMEDIA_CLOCK_NO_HIGHEST_PRIO, 
    674676                                       &clock_cb, &play_file, &play_clock); 
Note: See TracChangeset for help on using the changeset viewer.