Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: FIX: switching APID (was vdr 1.1.13 and patch for recording encrypted channels)



Am Donnerstag, 24. Oktober 2002 17:56 schrieben Sie:
> On 24 Oct 2002 Steffen Barszus <st_barszus@gmx.de> wrote:
> > I use vdr 1.1.13 and have aplied the patch for recording encrypted
> > channels. Now if I try to change the Apid with the green button, the
> > picture disappear and went black. Only after switching the channel the
> > picture is back. Too I
>
> The following fixes the audio switch problem for me:
>
> diff -uN vdr-1.1.13-orig/dvbdevice.c vdr-1.1.13/dvbdevice.c
> --- vdr-1.1.13-orig/dvbdevice.c	Sat Oct 12 13:15:45 2002
> +++ vdr-1.1.13/dvbdevice.c	Thu Oct 24 17:42:58 2002
> @@ -785,7 +788,7 @@
>  void cDvbDevice::SetAudioTrackDevice(int Index)
>  {
>    if (0 <= Index && Index < NumAudioTracks()) {
> -     DelPid(pidHandles[ptAudio].pid);
> +     //XXX DelPid(pidHandles[ptAudio].pid);
>       AddPid(Index ? aPid2 : aPid1, ptAudio);
>       }
>  }
>
Ok does the trick here too. Thanks ... 

> The problem seems to be, that DelPid() closes the demux
> filehandle if no one else uses the PID. This seems to disrupt the
> decoding.
>
> Don't try to switch the audio while recording, this will ruin
> your recording. I don't see a easy solution for this, may be we
> should disable audio switching while recording on the primary
> interface?
>

No I wont do so, thanks for the hint ...

> I also noticed that switching the audio stream doesn't works, if
> you are watching a channel in transfer mode. Is this intended?

Can the 

Okt 24 18:22:07 ernie vdr[6603]: ERROR (dvbdevice.c,362): Device or resource 
busy
 be caused by IRQ-Sharing with HEAD ?  On loading the driver I get the 
following:

Oct 24 18:28:49 ernie kernel: PCI: Found IRQ 11 for device 00:0a.0
Oct 24 18:28:49 ernie kernel: PCI: Sharing IRQ 11 with 00:07.2
Oct 24 18:28:49 ernie kernel: PCI: Sharing IRQ 11 with 00:07.3
Oct 24 18:28:49 ernie kernel: PCI: Sharing IRQ 11 with 00:0e.0
Oct 24 18:28:49 ernie kernel: saa7146_core.o: : bus:0, rev:1, mem:0xe3df7000.
Oct 24 18:28:52 ernie kernel: av7110 (0): AV7111 - firm f0240009, rtsl 
b0250018, vid 71010068, app 00012502

(BTW: These are the firewire and USB Hubs )

Greets

Steffen







--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index