Ignore:
Timestamp:
Sep 19, 2011 8:26:35 AM (13 years ago)
Author:
bennylp
Message:

Implemented native video preview support. This closes #1340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/videodev.c

    r3715 r3756  
    4141    DEFINE_CAP("format",        "Video format"), 
    4242    DEFINE_CAP("scale",         "Input dimension"), 
    43     DEFINE_CAP("window",        "Renderer window"), 
     43    DEFINE_CAP("window",        "Window handle"), 
    4444    DEFINE_CAP("resize",        "Renderer resize"), 
    4545    DEFINE_CAP("position",      "Renderer position"), 
    4646    DEFINE_CAP("hide",          "Renderer hide"), 
     47    DEFINE_CAP("preview",       "Input preview"), 
    4748}; 
    4849 
     
    176177        FIELD_INFO(window_hide); 
    177178        break; 
     179    case PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW: 
     180        FIELD_INFO(native_preview); 
     181        break; 
    178182    default: 
    179183        return PJMEDIA_EVID_INVCAP; 
Note: See TracChangeset for help on using the changeset viewer.