tiistai 2. syyskuuta 2008

Fixing the DVD playback and new show stopper

I found a solution to the DVD playback problems. First thing to do was to change line in config_xineliboutput file which resides in /root/.xine folder. I had to uncomment line media.dvd.language and set it to 'fi'. Then I made change into xineliboutput code; frontend.c

original:

 void cXinelibThread::SetSubtitleTrack(eTrackType Track)
{
  TRACEF("cXinelibThread::SetSubtitleTrack");
  cString buf = cString::sprintf("SPUSTREAM %d%s", 
Track==ttNone ? ttXSubtitleNone  : (Track - ttSubtitleFirst), 
m_SpuLangAuto ? " auto" : "");
  Xine_Control(buf);
}

modified:

void cXinelibThread::SetSubtitleTrack(eTrackType Track)
{
  TRACEF("cXinelibThread::SetSubtitleTrack");
  cString buf = cString::sprintf("SPUSTREAM %d%s", ttXSubtitleAuto, " auto");
  Xine_Control(buf);
}

So also DVD playback is working now, but I found much bigger problem. When Mini is hooked to the TV and is put to sleep and then waked up the TV output is messed up. Problem is that the TV out adapter is not recognized after sleep. It is only recognized after reboot.

I couldn't find any solution for that yet so the project is on hold for a while.

Ei kommentteja: