Changeset e1773c2cf7 in mythtv
- Timestamp:
- Jun 17, 2013, 12:21:14 PM (11 years ago)
- Branches:
- devel/2020-player, devel/ffmpeg-resync, fixes/0.27, fixes/0.28, fixes/29, fixes/30, fixes/31, github-templates, master
- Children:
- eb0d243040
- Parents:
- 9b22dab41e
- git-author:
- Jean-Yves Avenard <jyavenard@…> (06/17/13 12:21:14)
- git-committer:
- Jean-Yves Avenard <jyavenard@…> (06/18/13 17:44:17)
- Location:
- mythtv/libs/libmythtv/AirPlay
- Files:
-
- 2 edited
-
mythraopdevice.cpp (modified) (4 diffs)
-
mythraopdevice.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mythtv/libs/libmythtv/AirPlay/mythraopdevice.cpp
r9b22dab41e re1773c2cf7 56 56 gMythRAOPDeviceThread->qthread(), SIGNAL(started()), 57 57 gMythRAOPDevice, SLOT(Start())); 58 QObject::connect( 59 gMythRAOPDeviceThread->qthread(), SIGNAL(finished()), 60 gMythRAOPDevice, SLOT(Stop())); 58 61 gMythRAOPDeviceThread->start(QThread::LowestPriority); 59 62 } … … 67 70 { 68 71 LOG(VB_GENERAL, LOG_INFO, LOC + "Cleaning up."); 69 70 if (gMythRAOPDevice)71 gMythRAOPDevice->Teardown();72 72 73 73 QMutexLocker locker(gMythRAOPDeviceMutex); … … 93 93 MythRAOPDevice::~MythRAOPDevice() 94 94 { 95 Teardown();96 97 95 delete m_lock; 98 96 m_lock = NULL; … … 148 146 m_valid = true; 149 147 return; 148 } 149 150 void MythRAOPDevice::Stop(void) 151 { 152 Teardown(); 150 153 } 151 154 -
mythtv/libs/libmythtv/AirPlay/mythraopdevice.h
r9b22dab41e re1773c2cf7 31 31 private slots: 32 32 void Start(); 33 void Stop(); 33 34 void newConnection(QTcpSocket *client); 34 35 void deleteClient();
Note: See TracChangeset
for help on using the changeset viewer.
