Ignore:
Timestamp:
Jun 9, 2011 4:13:50 AM (13 years ago)
Author:
ming
Message:

Closed #1292: Make sure each video device for Mac OS and iPhone OS is always unidir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/qt_dev.m

    r3499 r3581  
    383383    PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); 
    384384    PJ_ASSERT_RETURN(param->fmt.type == PJMEDIA_TYPE_VIDEO && 
    385                      param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO, 
     385                     param->fmt.detail_type == PJMEDIA_FORMAT_DETAIL_VIDEO && 
     386                     param->dir == PJMEDIA_DIR_RENDER, 
    386387                     PJ_EINVAL); 
    387388 
     
    400401    strm->user_data = user_data; 
    401402    strm->apool = [[NSAutoreleasePool alloc]init]; 
    402      
    403     /* Create player stream here */ 
    404     if (param->dir & PJMEDIA_DIR_PLAYBACK) { 
    405     } 
    406      
     403 
    407404    /* Create capture stream here */ 
    408405    if (param->dir & PJMEDIA_DIR_CAPTURE) { 
Note: See TracChangeset for help on using the changeset viewer.