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

Re #1292: Make sure each video device and video port instance is always unidirectional

File:
1 edited

Legend:

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

    r3539 r3580  
    141141    PJ_ASSERT_RETURN(pool && prm && p_vid_port, PJ_EINVAL); 
    142142    PJ_ASSERT_RETURN(prm->vidparam.fmt.type == PJMEDIA_TYPE_VIDEO && 
    143                      prm->vidparam.dir != PJMEDIA_DIR_NONE, 
     143                     prm->vidparam.dir != PJMEDIA_DIR_NONE && 
     144                     prm->vidparam.dir != PJMEDIA_DIR_CAPTURE_RENDER, 
    144145                     PJ_EINVAL); 
    145146 
Note: See TracChangeset for help on using the changeset viewer.