[Bug 210303] Re: [hardy] kaffeine loops on "Codec package is already installed"
Jakarta
scherfa at web.de
Mon Jun 2 19:28:22 UTC 2008
Here is the problem code :
it is located in xinewidget ... and xine reports an unhandled stream ...
and this function is called in the play function of kaffeine ... so while playing a video
it endlessly try's to install a codec .. maybee we shoud store a already installed value
in the kaffeine settings so that unhandledStreamsPresent() doesnt return False if the codecs are already installed ....
Could anyone send me the patched sources of kaffeine because i did not
know how to patch the original sources ...
bool KXineWidget::unhandledStreamsPresent()
{
unsigned int hasAudio = xine_get_stream_info(m_xineStream, XINE_STREAM_INFO_HAS_AUDIO);
unsigned int hasVideo = xine_get_stream_info(m_xineStream, XINE_STREAM_INFO_HAS_VIDEO);
return (hasAudio && !xine_get_stream_info(m_xineStream, XINE_STREAM_INFO_AUDIO_HANDLED)) ||
(hasVideo && !xine_get_stream_info(m_xineStream, XINE_STREAM_INFO_VIDEO_HANDLED));
}
void KXineWidget::slotPlay()
{
if ((!isXineReady()) || (isQueueEmpty()))
return;
}
if (unhandledStreamsPresent())
{
errorOut("No codecs to handle media");
sendXineError();
return;
}
}
--
[hardy] kaffeine loops on "Codec package is already installed"
https://bugs.launchpad.net/bugs/210303
You received this bug notification because you are a member of Kubuntu
Team, which is subscribed to kaffeine in ubuntu.
More information about the kubuntu-bugs
mailing list