Ignore:
Timestamp:
Jun 30, 2011 9:31:05 AM (13 years ago)
Author:
ming
Message:

Re #1309: Add capability names and pointers for the new videodev's capabilities.

File:
1 edited

Legend:

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

    r3592 r3601  
    3838    DEFINE_CAP("scale",         "Input dimension"), 
    3939    DEFINE_CAP("window",        "Renderer window"), 
     40    DEFINE_CAP("resize",        "Renderer resize"), 
     41    DEFINE_CAP("position",      "Renderer position"), 
     42    DEFINE_CAP("hide",          "Renderer hide"), 
    4043}; 
    4144 
     
    159162    case PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW: 
    160163        FIELD_INFO(window); 
     164        break; 
     165    case PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE: 
     166        FIELD_INFO(disp_size); 
     167        break; 
     168    case PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION: 
     169        FIELD_INFO(window_pos); 
     170        break; 
     171    case PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE: 
     172        FIELD_INFO(window_hide); 
    161173        break; 
    162174    default: 
Note: See TracChangeset for help on using the changeset viewer.