Changeset 23795


Ignore:
Timestamp:
09/19/13 20:02:58 (11 years ago)
Author:
nit
Message:

[titan] test add subtitle and epg pid to record

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/record.h

    r23286 r23795  
    764764        struct dvbdev* fenode = NULL, *dmxnode = NULL;
    765765        struct audiotrack* atrack = NULL;
     766        struct subtitle *subnode = NULL
    766767        char* tmpstr = NULL;
    767768        struct transponder* tpnode = NULL;
     
    10221023                        }
    10231024                        if(chnode->pcrpid > 0 && chnode->pcrpid != chnode->videopid && chnode->pcrpid != chnode->audiopid && pcrpidmatch == 0) dmxaddpid(dmxnode, chnode->pcrpid);
     1025                       
     1026                        //add all subtitle
     1027                        m_lock(&status.subtitlemutex, 8);
     1028                        subnode = chnode->subtitle;
     1029                        while(subnode != NULL)
     1030                        {
     1031                                if(subnode->pid > 0)
     1032                                        dmxaddpid(dmxnode, subnode->pid);
     1033                                subnode = subnode->next;
     1034                        }
     1035                        m_unlock(&status.subtitlemutex, 8);
     1036                       
     1037                        //add epg pid
     1038                        if(getconfigint("epg2record", NULL) == 1) dmxaddpid(dmxnode, 0x12);     
    10241039                }
    10251040                else
Note: See TracChangeset for help on using the changeset viewer.