Changeset 3731


Ignore:
Timestamp:
Aug 29, 2011 4:14:28 AM (13 years ago)
Author:
bennylp
Message:

Re #1320 (misc): shut off v4l2 stderr logging

File:
1 edited

Legend:

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

    r3715 r3731  
    357357    pj_status_t status; 
    358358 
     359    /* libv4l2 annoyingly writes "libv4l2: error dequeuing buf: Resource 
     360     * temporarily unavailable" too many times to stderr. Turn it off 
     361     * for good. 
     362     */ 
     363    v4l2_log_file = fopen("/dev/null", "w"); 
     364 
    359365    status = v4l2_scan_devs(cf); 
    360366    if (status != PJ_SUCCESS) 
Note: See TracChangeset for help on using the changeset viewer.