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)



Stefan Huelswitt wrote:
> 
> 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);
>       }
>  }
> 
> 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?

I guess that's true.

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

I believe I tested transfer mode and it worked just fine when switching
audio channels. I'll test it again.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


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



Home | Main Index | Thread Index