mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Keeping the track language codes and descriptions in Transfer Mode
This commit is contained in:
parent
940d605f2e
commit
87209df391
@ -1288,3 +1288,7 @@ Chad Flynt <hoochster@sofnet.com>
|
||||
Chris Warren <dvb@ixalon.net>
|
||||
for pointing out that the call to system("sync") in SpinUpDisk() should be
|
||||
replaced with fsync(f) to avoid problems on NPTL systems
|
||||
|
||||
Luca Olivetti <luca@ventoso.org>
|
||||
for making cDevice::AttachPlayer() keep the track language codes and descriptions
|
||||
in Transfer Mode
|
||||
|
2
HISTORY
2
HISTORY
@ -3439,3 +3439,5 @@ Video Disk Recorder Revision History
|
||||
- Fixed ensuring there is a current audio track in case there is only one track
|
||||
(thanks to Werner Fink for reporting this one).
|
||||
- Improved automatic audio track selection.
|
||||
- Keeping the track language codes and descriptions in Transfer Mode (thanks to
|
||||
Luca Olivetti).
|
||||
|
5
device.c
5
device.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: device.c 1.98 2005/02/27 13:35:34 kls Exp $
|
||||
* $Id: device.c 1.99 2005/02/27 13:55:15 kls Exp $
|
||||
*/
|
||||
|
||||
#include "device.h"
|
||||
@ -842,7 +842,8 @@ bool cDevice::AttachPlayer(cPlayer *Player)
|
||||
if (CanReplay()) {
|
||||
if (player)
|
||||
Detach(player);
|
||||
ClrAvailableTracks();
|
||||
if (!dynamic_cast<cTransfer *>(Player))
|
||||
ClrAvailableTracks();
|
||||
pesAssembler->Reset();
|
||||
player = Player;
|
||||
SetPlayMode(player->playMode);
|
||||
|
Loading…
Reference in New Issue
Block a user