Pivosgroup/xbmc — pull request #8 by JoeKar (2013-04-03 21:03:47+00:00)
Title: Bug: Add packet-fps-change-detection for PVRClient (solves missing hints.fps*)

Hi,

finally I've found the location in the function chain, where the hints.fps* get lost.

Tvheadend doesn't seem to be able, to deliver the hints (iFPSScale, iFPSRate, iChannels & iSampleRate) at subscription start. This will be done with the next packets, which will be received by the HTSP client. But unfortunately the demuxer of the PVR stream doesn't forward this information (iFPSScale & iFPSRate) to the video codecs, so they have to do this with their own workarounds.

Unfortunately this wouldn't fix the crappy/choppy DVB playback, but this seems to be connected to the audio stream, where the data will be requested to fast or the stream wouldn't be delivered in time:
"CSoftAEStream::GetFrame - Underrun" followed by "CSoftAEStream::Flush".

@davilla:
It would be great, if you could do a PR to the upstream xbmc (I think, they will trust you more than me ;D).

Regards, JK