Changeset 40936


Ignore:
Timestamp:
09/08/17 18:32:05 (6 years ago)
Author:
gost
Message:

[titan] dm900 fix ts... I hope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/service.h

    r40932 r40936  
    301301#endif         
    302302        audiostop(status.aktservice->audiodev);
     303        if(checkbox("DM900") == 1)
     304                dmxstop(status.aktservice->dmxaudiodev);
    303305        //demux pcr start
    304306        if(flag == 0 && chnode->pcrpid > 0)
     
    435437                                audiopause(audionode);
    436438                        if(status.mute != 1)
     439                        {
     440                                if(checkbox("DM900") == 1)
     441                                        dmxstart(status.aktservice->dmxaudiodev);
    437442                                audioplay(audionode);
     443                        }
    438444                }
    439445                else
     
    485491        }
    486492        if(status.mute != 1)
     493        {
     494                if(checkbox("DM900") == 1)
     495                                        dmxstart(status.aktservice->dmxaudiodev);
    487496                audioplay(status.aktservice->audiodev);
     497        }
    488498#endif
    489499       
     
    795805                if(flag == 4) node->type = STILLPIC;
    796806               
     807                audiostop(node->audiodev);
    797808                if(checkbox("DM900") == 1)
    798                 {
    799                         audiostop(status.aktservice->audiodev);
    800                         dmxstop(status.aktservice->dmxaudiodev);
    801                         videofreeze(status.aktservice->videodev);
    802                         videoslowmotion(status.aktservice->videodev, 0);
    803                         videofastforward(status.aktservice->videodev, 0);
    804                 }
    805                 else
    806                 {
    807                         audiostop(node->audiodev);
    808                         if(checkbox("VUSOLO2") == 1) videoclearbuffer(node->videodev);
    809                         videostop(node->videodev, clear);
    810                 }
    811 
     809                                dmxstop(node->dmxaudiodev);
     810                if(checkbox("VUSOLO2") == 1) videoclearbuffer(node->videodev);
     811                videostop(node->videodev, clear);
     812               
    812813                int     fastzap = getconfigint("fastzap", NULL);
    813814
Note: See TracChangeset for help on using the changeset viewer.