Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: popen for ac3 and thread (ringbuffer)problem
Stephan Schreiber wrote:
>
> Hi Klaus & Andreas,
>
> I can confirm it.
> While watching DVD's, I've become very careful when deciding whether I
> should dare to open the OSD menu.
> (For changing the language for example).
> When the driver and vdr are freshly loaded after a reboot, usually the
> first two times OSD works.
>
> Here's what happens then (ONLY when watching a DVD or other AC3 recording):
> Instead of showing the menu, the picture freezes.
> After I terminate vdr the driver runs into OUTCOMMAND ERROR and ARM RESET.
> Then it hangs to the point where I have to reboot (Make rmmod complains
> about busy modules).
I tried this several times now with two different DVDs (both with AC3 sound)
and was able to switch the OSD on and off until my thumb began to hurt ;-)
Since I don't have actual AC3 hardware I have started VDR with
vdr -a'cat > filename'
to simulate VDR's Dolby Digital output. Maybe those of you who get these
hangups could try this, too: don't use the '-a...' option you usually use,
but use one similar to mine, thus leaving out the actual external AC3
processing. Do the hangups still happen then (with the original VDR version)?
Klaus
>
> Andreas' patch works for me. (COOL!)
>
> I have a DVB-C, maybe that's the reason for all the hassle?
>
> Greetings
> Stephan
>
> At 11:11 15.08.2001 +0200, you wrote:
> >Andreas Vitting wrote:
> > >
> > > Hi Klaus,
> > > do you know about the problem with the popen function ? You opened it
> > into a
> > > new Thread, so the thread is the main process for the ac3 decoder (-shell).
> > > All standard outputs going to the pipe, isn't it ??
> > > Here is my problem:
> > > if i open the osd menu (with and w/o ac3 data), vdr crashes and after a
> > > while the dvb driver too (after 10-20 seconds). I have changed for
> > > experimental purposes the popen command to the cDvbApi init routine
> > (near to
> > > OstOpen) and know, you don't believe this,no crashes anymore.
> > > This behavior is as soon as we start the vdr with the -a switch (it doesn't
> > > matter, if the recordings were with or w/o ac3 data)
> >
> >Can anybody else confirm this behaviour?
> >
> >I like the idea that the AC3 decoder ist started only when an actual
> >replay is performed, and not running all the time, so I would like
> >to be very certain about the necessity of this change.
> >
> >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 linux-dvb" as subject.
Home |
Main Index |
Thread Index