mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed attaching a cPlayer to a cDevice
This commit is contained in:
parent
41669352b7
commit
8ed9becabc
@ -1054,6 +1054,8 @@ Marco Schl
|
|||||||
for avoiding unnecessary section filter start/stops
|
for avoiding unnecessary section filter start/stops
|
||||||
for pointing out that if one PID can't be added, the whole cDevice::AttachReceiver()
|
for pointing out that if one PID can't be added, the whole cDevice::AttachReceiver()
|
||||||
should fail and all PIDs added so far should be deleted
|
should fail and all PIDs added so far should be deleted
|
||||||
|
for fixing attaching a cPlayer to a cDevice, so that 'Operation not permited'
|
||||||
|
errors don't occur any more
|
||||||
|
|
||||||
Jürgen Schmitz <j.schmitz@web.de>
|
Jürgen Schmitz <j.schmitz@web.de>
|
||||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||||
|
2
HISTORY
2
HISTORY
@ -3046,3 +3046,5 @@ Video Disk Recorder Revision History
|
|||||||
- Added some missing 'const' to cChannel.
|
- Added some missing 'const' to cChannel.
|
||||||
- Added a sample setup for 'DisiCon-4 Single Cable Network' to 'diseqc.conf'
|
- Added a sample setup for 'DisiCon-4 Single Cable Network' to 'diseqc.conf'
|
||||||
(thanks to Oliver Endriss).
|
(thanks to Oliver Endriss).
|
||||||
|
- Fixed attaching a cPlayer to a cDevice, so that 'Operation not permited'
|
||||||
|
errors don't occur any more (thanks to Marco Schlüßler).
|
||||||
|
4
device.c
4
device.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: device.c 1.60 2004/10/17 09:39:10 kls Exp $
|
* $Id: device.c 1.61 2004/10/23 10:15:31 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
@ -595,8 +595,8 @@ bool cDevice::AttachPlayer(cPlayer *Player)
|
|||||||
if (player)
|
if (player)
|
||||||
Detach(player);
|
Detach(player);
|
||||||
player = Player;
|
player = Player;
|
||||||
player->device = this;
|
|
||||||
SetPlayMode(player->playMode);
|
SetPlayMode(player->playMode);
|
||||||
|
player->device = this;
|
||||||
player->Activate(true);
|
player->Activate(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user