Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: [PATCH] DXR3 Plugin v.0.2.0 External Player Mode
On Friday 13 June 2003 23:12, Jarkko Santala wrote:
> On Wed, 11 Jun 2003, Kai Moeller wrote:
> > > Same thing here. Most annoying. ;) The "patch" below stops the crash,
> > > but causes static on digital output after returning from mplayer. VDR
> > > is
> >
> > Don't know what you mean. But I will check it later.
>
> - Watching DVB-T broadcast via DXR3 digital out, sound is ok
> - Start playing a .avi or something with mplayer, sound is ok
> - Stop mplayer and start watching DVB-T broadcast, sound is ok
> - Start playing a DVD using the mplayer plugin (mplayer.sh script
> has been rigged to play DVD instead if the filename is PlayDVD, a fake
> file I've created in an appropriate directory), AC3 sound from DVD is
> played with mplayer's -ac hwac3-option, sound is ok.
> - Stop mplayer, sound becames just static noise
> - Start watching an .avi again, sound is once again ok
> - Stop mplayer, DVB-T sound is back to normal too
>
> So in other words, if the DXR3 card is put to "AC3-mode" by mplayer, the
> plugin doesn't turn it back to whatever mode it was in before playing the
> DVD.
>
Ok, know it makes sense (never tested such a thing). The problem is that
switching between AC3 and PCM-Mode makes it necessary to reload the firmware
(don't know why).
The attached patch should fix that (I can't test it because I have no AC3
material to play with mplayer).
Hope that helps,
Kai
*** dxr3abstractiondevice.c_orig 2003-06-03 18:09:21.000000000 +0200
--- dxr3abstractiondevice.c 2003-06-14 16:06:04.000000000 +0200
*************** void cDxr3AbsDevice::ExternalReopenDevic
*** 662,668 ****
ReconfigureDevice();
m_extSpuInterface.Clear();
}
!
Unlock();
}
--- 662,668 ----
ReconfigureDevice();
m_extSpuInterface.Clear();
}
! ResetHardware();
Unlock();
}
Home |
Main Index |
Thread Index