Changeset 39797 for titan/titan


Ignore:
Timestamp:
01/21/17 18:54:34 (7 years ago)
Author:
gost
Message:

[titan] long press pip shows record channel

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r39507 r39797  
    11111111                }
    11121112                // pip atemio7600 ??
    1113                 if(rcret == getrcconfigint("rcpip", NULL) && (checkchipset("BCM7424") == 1 || checkbox("ATEMIO6200") == 1 || checkbox("UFS922") == 1 || checkbox("UFS913") == 1 || checkbox("DM900") == 1))
     1113                if((rcret == getrcconfigint("rcpip", NULL) || rcret == getrcconfigint("rcpiprec", NULL)) && (checkchipset("BCM7424") == 1 || checkbox("ATEMIO6200") == 1 || checkbox("UFS922") == 1 || checkbox("UFS913") == 1 || checkbox("DM900") == 1))
    11141114                {
    11151115                        if(status.pipservice->videodev == NULL)
    11161116                        {
    1117                                 pipchannel = status.aktservice->channel;
     1117                                printf("---------> %i\n",rcret);
     1118                                if(status.recording > 0 && rcret == getrcconfigint("rcpiprec", NULL))
     1119                                        pipchannel = status.recchnode[1];
     1120                                else if(rcret == getrcconfigint("rcpiprec", NULL))
     1121                                        textbox(_("Message"), _("no record channel found"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0);
     1122                                else   
     1123                                        pipchannel = status.aktservice->channel;
    11181124                                printf("++++ RC: %i\n",pipstart(pipchannel, NULL, 0));
    11191125                                pipchannel = NULL;
  • titan/titan/record.h

    r36013 r39797  
    332332                        status.playing = 0;
    333333                else
     334                {
     335                        status.recchnode[status.recording] = NULL;
    334336                        status.recording--;
     337                }
    335338       
    336339                deltranspondertunablestatus();
     
    14111414        {
    14121415                status.recording++;
     1416                status.recchnode[status.recording] = chnode;
    14131417                servicenode->recname = ostrcat(filename, NULL, 0, 0);
    14141418                if(VFD_Recordthread == NULL && getconfigint("vfdisplayrecord", NULL) != 0)
  • titan/titan/struct.h

    r39776 r39797  
    16461646        // downmix switch in audio menu (audiotrack.h)
    16471647        int downmix;
     1648        // channels for recording
     1649        struct channel* recchnode[9];
    16481650} status;
    16491651
Note: See TracChangeset for help on using the changeset viewer.