Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: don't restart service when EPG stop was received
  • Loading branch information
perexg committed Oct 31, 2015
1 parent 953fa60 commit 4b89d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dvr/dvr_rec.c
Expand Up @@ -1255,7 +1255,7 @@ dvr_thread(void *aux)
if (rs == DVR_RS_COMMERCIAL && comm_skip)
break;
if (!epg_running) {
if (ss && packets) {
if (ss && packets && de->de_running_start == 0) {
dvr_streaming_restart(de, &run);
packets = 0;
started = 0;
Expand Down Expand Up @@ -1321,7 +1321,7 @@ dvr_thread(void *aux)
break;

if (!epg_running) {
if (packets) {
if (ss && packets && de->de_running_start == 0) {
dvr_streaming_restart(de, &run);
packets = 0;
started = 0;
Expand Down

0 comments on commit 4b89d68

Please sign in to comment.