Mailing List archive

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

[vdr] Re: error using mplayer and dxr3



Hi,

I could fix it this way:

seppo@napsu:~/src/vdr$ diff dxr3device.c dxr3device.c.orig
67c67,70
< if (playMode != pmExtern_THIS_SHOULD_BE_AVOIDED) {
---
> if (playMode == pmExtern_THIS_SHOULD_BE_AVOIDED) {
> Interface->Info("Dxr3: Releasing devices\n");
> cDxr3AbsDevice::Instance().ExternalReleaseDevices();
> } else {
96,101c99
< if (playMode == pmExtern_THIS_SHOULD_BE_AVOIDED) {
< Interface->Info("Dxr3: Releasing devices\n");
< cDxr3AbsDevice::Instance().ExternalReleaseDevices();
< }
<
< return true;
---
> return true;

Or in other words I moved cDxr3AbsDevice::Instance().ExternalReleaseDevices();

to the end of the function after cDxr3AbsDevice::Instance().SetAudioXXX(); which seems to cancel the release operation. Does this work for others?

BR,
Seppo


Seppo Ingalsuo wrote:
Hi,

Stefan Huelswitt wrote:

On 07 Apr 2003 Morfsta <morfsta@irmplc.com> wrote:


I don't know - it is a rewrite of the dxr3 perl script that accompanies the dxr3 plugin dxr3_ux_client.pl.


Ok, I understand this now.

I had a look at the current dxr3-plugin code and I think we don't
need your patch. It should work (Stefan Schluess short test
indicates this too).

From the dxr3-plugin history:
[...]
2003-03-23: Version 0.1.7
[...]
- Added support for external player mode.

May be your version is too old?

I have experienced the same problem as Morfsta with mplayer plugin with latests SW (vdr 1.1.26, mp3 0.7.11, dxr3, 0.1.7a ). I believe the existing dxr3 release doesn't work/co-operate between the two plugins. When grabbing mplayer output it complains about not being able to access em8300 devices.

...

VO: [dxr3] Opened /dev/em8300-0.
VO: [dxr3] Error opening /dev/em8300_mv-0 for writing, trying /dev/em8300_mv instead.
VO: [dxr3] Error opening /dev/em8300_mv for writing as well!
Bailing.
VO: [dxr3] Uninitializing.

...

BR,
Seppo



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



Home | Main Index | Thread Index