mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Revisited the "Fixed missing audio after replaying a DVD" change
This commit is contained in:
parent
dcee5cb967
commit
9b0070a420
4
HISTORY
4
HISTORY
@ -2898,9 +2898,9 @@ Video Disk Recorder Revision History
|
|||||||
- In order to avoid problems on NPTL systems, VDR now checks for the presence
|
- In order to avoid problems on NPTL systems, VDR now checks for the presence
|
||||||
of NPTL at program start, and if it is, exists and tells the user to do
|
of NPTL at program start, and if it is, exists and tells the user to do
|
||||||
'export LD_ASSUME_KERNEL=2.4.1' before starting VDR.
|
'export LD_ASSUME_KERNEL=2.4.1' before starting VDR.
|
||||||
- Revoked the "Fixed missing audio after replaying a DVD" change because it
|
- Revisited the "Fixed missing audio after replaying a DVD" change because it
|
||||||
introduced a sound disturbance when switching between channels on the same
|
introduced a sound disturbance when switching between channels on the same
|
||||||
transponder.
|
transponder (thanks to Marco Schlüßler).
|
||||||
- In order to avoid problems on UTF-8 systems, VDR now checks for the presence
|
- In order to avoid problems on UTF-8 systems, VDR now checks for the presence
|
||||||
of UTF-8 at program start, and if it is, exists and tells the user to turn off
|
of UTF-8 at program start, and if it is, exists and tells the user to turn off
|
||||||
UTF-8 before starting VDR.
|
UTF-8 before starting VDR.
|
||||||
|
@ -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: dvbdevice.c 1.89 2004/06/06 11:28:28 kls Exp $
|
* $Id: dvbdevice.c 1.90 2004/06/12 14:42:19 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -766,9 +766,10 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
|
|||||||
}
|
}
|
||||||
if (IsPrimaryDevice())
|
if (IsPrimaryDevice())
|
||||||
AddPid(Channel->Tpid(), ptTeletext);
|
AddPid(Channel->Tpid(), ptTeletext);
|
||||||
|
CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, true)); // actually one would expect 'false' here, but according to Marco Schlüßler <marco@lordzodiac.de> this works
|
||||||
|
// to avoid missing audio after replaying a DVD; with 'false' there is an audio disturbance when switching
|
||||||
|
// between two channels on the same transponder on DVB-S
|
||||||
CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, true));
|
CHECK(ioctl(fd_audio, AUDIO_SET_AV_SYNC, true));
|
||||||
CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, false));
|
|
||||||
CHECK(ioctl(fd_video, VIDEO_SET_BLANK, false));
|
|
||||||
}
|
}
|
||||||
else if (StartTransferMode)
|
else if (StartTransferMode)
|
||||||
cControl::Launch(new cTransferControl(this, Channel->Vpid(), Channel->Apid1(), Channel->Apid2(), Channel->Dpid1(), Channel->Dpid2()));
|
cControl::Launch(new cTransferControl(this, Channel->Vpid(), Channel->Apid1(), Channel->Apid2(), Channel->Dpid1(), Channel->Dpid2()));
|
||||||
|
Loading…
Reference in New Issue
Block a user