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);
Here is the problem code : sPresent( ) doesnt return False if the codecs are already installed ....
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 unhandledStream
Could anyone send me the patched sources of kaffeine because i did not know how to patch the original sources ...
bool KXineWidget: :unhandledStrea msPresent( ) stream_ info(m_ xineStream, XINE_STREAM_ INFO_HAS_ AUDIO); stream_ info(m_ xineStream, XINE_STREAM_ INFO_HAS_ VIDEO);
{
unsigned int hasAudio = xine_get_
unsigned int hasVideo = xine_get_
return (hasAudio && !xine_get_ stream_ info(m_ xineStream, XINE_STREAM_ INFO_AUDIO_ HANDLED) ) || stream_ info(m_ xineStream, XINE_STREAM_ INFO_VIDEO_ HANDLED) );
(hasVideo && !xine_get_
}
void KXineWidget: :slotPlay( )
{
if ((!isXineReady()) || (isQueueEmpty()))
return;
}
if (unhandledStrea msPresent( ))
{
errorOut("No codecs to handle media");
sendXineError();
return;
}
}