#include "pvr/PVRManager.h"
#include "pvr/channels/PVRChannel.h"
#include "pvr/windows/GUIWindowPVR.h"
+#include "pvr/addons/PVRClients.h"
#include "filesystem/PVRFile.h"
#include "utils/StringUtils.h"
hint.software = true;
}
+ boost::shared_ptr<CPVRClient> client;
+ if(m_pInputStream && m_pInputStream->IsStreamType(DVDSTREAM_TYPE_PVRMANAGER) &&
+ pStream->type == STREAM_VIDEO &&
+ g_PVRClients->GetPlayingClient(client) && client->HandlesDemuxing())
+ {
+ // set the fps in hints
+ const CDemuxStreamVideo *stream = static_cast<const CDemuxStreamVideo*>(pStream);
+ hint.fpsrate = stream->iFpsRate;
+ hint.fpsscale = stream->iFpsScale;
+ }
+
CDVDInputStream::IMenus* pMenus = dynamic_cast<CDVDInputStream::IMenus*>(m_pInputStream);
if(pMenus && pMenus->IsInMenu())
hint.stills = true;