RC4: Codec settings of movieplayer not correct... (1 Viewer)

tklon

Portal Pro
September 3, 2004
353
6
Germany
Home Country
Germany Germany
Area: MediaPortal Program and Config App
MP Version: 0.2.0.0_RC4 (svn-06-08-2006--01-02)
Skin: mce
Windows Version: XP Pro SP2
CPU Type: AMD Athlon XP-M 2400+
Memory: 2x256MB DDR400
Motherboard Chipset: VIA KM400 on a Soltek SL-75MIV2-L
Video Card: Sapphire Radeon 9600 Atlantis 128MB
Video Card Driver: Catalyst 6.3
Video Render Type: VMR9
Video Codec Type & Version: InterVideo
Audio Codec Type & Version: InterVideo
TV Card: Hauppauge WinTV PVR 250
TV Card Type: hardware
TV Card Driver: hcw2_3b_23102pp2
Optional Log: -
Optional References: -

The video and audio codecs in the movieplayer settings are saved different from within mp and from the config app:

MediaPortal.xml:
Code:
<section name="movieplayer">
  <entry name="mpeg2videocodec">Nero Video Decoder</entry>
  <entry name="mpeg2audiocodec">Nero Digital Audio Decoder</entry>
  <entry name="videocodec">CyberLink Video/SP Decoder</entry>
  <entry name="audiocodec">CyberLink Audio Decoder</entry>
</section>

MoviePlayer.cs:
Code:
string videoCodec = xmlreader.GetValueAsString("movieplayer", "mpeg2videocodec", "");
string audioCodec = xmlreader.GetValueAsString("movieplayer", "mpeg2audiocodec", "");

GUISettingsMovies.cs
Code:
xmlwriter.SetValue("movieplayer","audiocodec",(string)availableAudioFilters[dlg.SelectedLabel]);
xmlwriter.SetValue("movieplayer","videocodec",(string)availableVideoFilters[dlg.SelectedLabel]);

The movieplayer seems to use the setting for mpeg2videocodec and mpeg2audiocodec. When you change the codecs within mp they are saved under videocodec and audiocodec.
 

tklon

Portal Pro
September 3, 2004
353
6
Germany
Home Country
Germany Germany
Thank you mPod, I just wanted to contact you via irc. You're to fast... :)
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
How could I resist? Your avatar always reminds me of my childhood... :lol:
 

Users who are viewing this thread

Top Bottom