Mailing List archive

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

[vdr] Re: [PATCH] vcd plugin for 1.3.18



C.Y.M wrote:
Hi, with some help, here is a patch for vcd-0.0.6c and vdr-1.3.18. The plugin compiles and appears to work fine, but there is one warning that I am trying to solve but do not know how.

../../../include/vdr/player.h:53: warning: `virtual void
cPlayer::SetAudioTrack(eTrackType, const tTrackId*)' was hidden
vcd_player.c:95: warning: by `virtual void cVcdPlayer::SetAudioTrack(int)'

If anyone can shed some light on this please let me know.

Regards,
C.Y.M.
Hi,
I do not understand too much of the audio streams, but the function SetAudioTrack within the VCD plugin should look something like that:

void cVcdPlayer::SetAudioTrack(eTrackType Type, const tTrackId *TrackId)
{
if (IS_AUDIO_TRACK(Type)) {
if ((audioTrack == 0xC0) != (Type <= ttAudioFirst)) {
audioTrack = (Type > ttAudioFirst) ? 0xC1 : 0xC0;
Empty();
}
}
}


--
Helmut Auer, helmut@helmutauer.de





Home | Main Index | Thread Index