Changeset 39879


Ignore:
Timestamp:
01/30/17 13:38:29 (7 years ago)
Author:
obi
Message:

test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/libeplayer3/output/linuxdvb_mipsel.c

    r39877 r39879  
    131131
    132132    linuxdvb_printf(10, "v%d a%d\n", video, audio);
    133 
     133                               
    134134    if (video && videofd < 0)
    135135    {
     136                fcntl(VIDEODEV, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);
     137                closeonexec(VIDEODEV);
     138
    136139        videofd = open(VIDEODEV, O_RDWR | O_NONBLOCK);
    137140
     
    164167    if (audio && audiofd < 0)
    165168    {
     169                fcntl(AUDIODEV, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);
     170                closeonexec(AUDIODEV);
     171
    166172        audiofd = open(AUDIODEV, O_RDWR | O_NONBLOCK);
    167173
Note: See TracChangeset for help on using the changeset viewer.