On ke, 2013-03-06 at 00:09 +0100, Klaus Schmidinger wrote: > On 05.03.2013 23:59, Peter Münster wrote: > > Hi, > > > > Some keys do not work with the mplayer plugin: > > kAudio, kSubtitles, kInfo and perhaps more. > > > > How could I use these keys please in the cMPlayerControl::ProcessKey() > > function? > > These keys are handled in VDR's main loop and are not conveyed to > any plugin. > > If you want to use the track controls, you can make your player > call cDevice::PrimaryDevice()->ClrAvailableTracks() and > cDevice::PrimaryDevice()->SetAvailableTrack() accordingly. Not so easy... If player feeds mpeg-ts stream to the device, track maps are rewritten by cPatPmtParser. Also selected track is reset. This is problematic with BluRay player: languages are not given in PMT but metadata. There can be extra tracks in PMT when the same mpeg-ts clip is used in multiple titles. One title can use original audio tracks while another uses commentary tracks etc. Also user-selected language (from BluRay menus) is overridden by VDR when first PMT is parsed. - Petri _______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr