Mailing List archive

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

[vdr] ANNOUNCE: bitstreamout-0.42j (Was: AC3 over Soundcard(live and replay))



OK, now I've added a sanyity check for transfer mode:

    [...]
    channel = Channels.GetByNumber(ChannelNumber);

    // Sanity check not be called in transfer mode
    if (!PrimaryDevice->ProvidesChannel(channel, Setup.PrimaryLimit))
        goto out;

    if (channel && (Dpid = channel->Dpid1()) && (Dpid < 0x1FFF)) {
        in = new cInStream(Dpid, dolbyDev, SPDIFconf);
        if (!in) {
            esyslog("ERROR: out of memory");
            Dpid = 0x1FFF;
        } else
            PrimaryDevice->AttachReceiver(in);
    }
    [...]

.... IMHO this shouldbe done by all plugins which want pids from
the primary device and may collide with the transfer mode (teletext e.g.)

See https://sourceforge.net/project/showfiles.php?group_id=72368

        Werner

On Thu, Jan 30, 2003 at 03:04:57PM +0100, =?iso-8859-1?Q?H. _Sch=F6bel?= wrote:
> 
> Here a log from vdr start, then switching to channel 3 (Pro-7) -no
> Audio-, then channel 4 (Sat 1) - Stereo Audio digital-, then back to
> Pro-7 -no Audio-, and then Sat 1. Looks like before...
> 
> Jan 30 14:46:38 video vdr[4096]: assuming manual start of VDR
> Jan 30 14:46:38 video vdr[4096]: max. latency time 1 seconds
> Jan 30 14:46:40 video vdr[4096]: switching to channel 3
> Jan 30 14:46:40 video vdr[4112]: transfer thread started (pid=4112)
> Jan 30 14:46:40 video vdr[4113]: receiver thread started on device 3 (pid=4113)
> Jan 30 14:46:40 video modprobe: modprobe: Can't locate module snd-card-1
> Jan 30 14:46:40 video vdr[4116]: receiver thread started on device 1 (pid=4116)
> Jan 30 14:46:40 video modprobe: modprobe: Can't locate module snd-card-2
> Jan 30 14:46:40 video modprobe: modprobe: Can't locate module snd-card-3
> Jan 30 14:46:40 video vdr[4114]: INSTREAM: Synchronize AC3 thread started (pid=4114)
> Jan 30 14:46:40 video vdr[4114]: INSTREAM: thread can not set process priority: Success
> Jan 30 14:46:58 video vdr[4096]: switching to channel 4
> Jan 30 14:46:58 video vdr[4112]: transfer thread ended (pid=4112)
> Jan 30 14:46:58 video vdr[4113]: receiver thread ended on device 3 (pid=4113)
> Jan 30 14:46:58 video vdr[4096]: buffer stats: 65424 (6%) used
> Jan 30 14:46:58 video vdr[4114]: INSTREAM: Synchronize AC3 thread ended (pid=4114)
> Jan 30 14:46:58 video vdr[4116]: receiver thread ended on device 1 (pid=4116)
> Jan 30 14:46:58 video vdr[4119]: transfer thread started (pid=4119)
> Jan 30 14:46:58 video vdr[4120]: receiver thread started on device 3 (pid=4120)
> Jan 30 14:47:12 video vdr[4096]: switching to channel 3
> Jan 30 14:47:12 video vdr[4119]: transfer thread ended (pid=4119)
> Jan 30 14:47:13 video vdr[4120]: receiver thread ended on device 3 (pid=4120)
> Jan 30 14:47:13 video vdr[4096]: buffer stats: 40232 (3%) used
> Jan 30 14:47:13 video vdr[4121]: transfer thread started (pid=4121)
> Jan 30 14:47:13 video vdr[4122]: receiver thread started on device 3 (pid=4122)
> Jan 30 14:47:13 video vdr[4123]: INSTREAM: Synchronize AC3 thread started (pid=4123)
> Jan 30 14:47:13 video vdr[4123]: INSTREAM: thread can not set process priority: Success
> Jan 30 14:47:13 video vdr[4124]: receiver thread started on device 1 (pid=4124)
> Jan 30 14:47:27 video vdr[4096]: switching to channel 4
> Jan 30 14:47:27 video vdr[4121]: transfer thread ended (pid=4121)
> Jan 30 14:47:27 video vdr[4122]: receiver thread ended on device 3 (pid=4122)
> Jan 30 14:47:27 video vdr[4096]: buffer stats: 37224 (3%) used
> Jan 30 14:47:27 video vdr[4123]: INSTREAM: Synchronize AC3 thread ended (pid=4123)
> Jan 30 14:47:27 video vdr[4124]: receiver thread ended on device 1 (pid=4124)
> Jan 30 14:47:27 video vdr[4125]: transfer thread started (pid=4125)
> Jan 30 14:47:27 video vdr[4126]: receiver thread started on device 3 (pid=4126)
> 
> If I switch around the channels (not exessive, only between sat -with
> transfermode- and cable-channels -without transfermode- and back) i get
> an emergency exit :-(.
> 
> ..Hagen


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



Home | Main Index | Thread Index