Ticket #4836: module-dvbapi.c.patch
File module-dvbapi.c.patch, 1.2 KB (added by , 3 years ago) |
---|
-
module-dvbapi.c
261 261 case DMX_STOP: 262 262 { 263 263 ret = send(fd, &request, sizeof(request), 0); 264 ret = 1;264 if(!(ret == 1)){ ret = 1; } 265 265 break; 266 266 } 267 267 … … 2467 2467 { 2468 2468 cs_log("ERROR: Could not close demuxer fd (errno=%d %s)", errno, strerror(errno)); 2469 2469 } 2470 currentfd = ca_fd[i] = 0;2470 //currentfd = ca_fd[i] = 0; 2471 2471 } 2472 2472 } 2473 2473 } … … 3323 3323 } 3324 3324 } 3325 3325 } 3326 p_order = demux[demux_id].ECMpidcount + 1;3326 //p_order = demux[demux_id].ECMpidcount + 1; 3327 3327 3328 3328 for(n = 0; n < demux[demux_id].ECMpidcount; n++) 3329 3329 { … … 7097 7097 { 7098 7098 if(type[i] == 1) 7099 7099 { 7100 connfd = -1; // initially no socket to read from7100 //connfd = -1; // initially no socket to read from 7101 7101 uint8_t add_to_poll = 0; // we may need to additionally poll this socket when no PMT data comes in 7102 7102 7103 7103 if(pfd2[i].fd == listenfd) … … 7174 7174 } 7175 7175 } 7176 7176 close(connfd); 7177 connfd = -1;7177 //connfd = -1; 7178 7178 7179 7179 // last connection closed 7180 7180 if(!active_conn && (cfg.dvbapi_listenport || cfg.dvbapi_boxtype == BOXTYPE_PC_NODMX))