mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2023-03-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdvairplayd(8) that caused a segfault on startup. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
//#define SHOW_SLOTS
|
||||
//#define SHOW_METER_SLOTS
|
||||
|
||||
RDLogPlay::RDLogPlay(int id,RDEventPlayer *player,QObject *parent)
|
||||
RDLogPlay::RDLogPlay(int id,RDEventPlayer *player,bool enable_cue,QObject *parent)
|
||||
: RDLogModel(parent)
|
||||
{
|
||||
//
|
||||
@@ -131,7 +131,7 @@ RDLogPlay::RDLogPlay(int id,RDEventPlayer *player,QObject *parent)
|
||||
// Audition Player
|
||||
//
|
||||
play_audition_line=-1;
|
||||
if((rda->station()->cueCard()>=0)&&
|
||||
if(enable_cue&&(rda->station()->cueCard()>=0)&&
|
||||
(rda->station()->cuePort()>=0)) {
|
||||
play_audition_player=
|
||||
new RDSimplePlayer(play_cae,rda->ripc(),rda->station()->cueCard(),
|
||||
|
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Rivendell Log Playout Machine
|
||||
//
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2023 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -50,7 +50,7 @@ class RDLogPlay : public RDLogModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
RDLogPlay(int id,RDEventPlayer *player,QObject *parent=0);
|
||||
RDLogPlay(int id,RDEventPlayer *player,bool enable_cue,QObject *parent);
|
||||
QString serviceName() const;
|
||||
void setServiceName(const QString &svcname);
|
||||
QString defaultServiceName() const;
|
||||
|
Reference in New Issue
Block a user