#include <playercontext.h>
Public Member Functions | |
| PlayerContext (const QString &inUseID=QString("Unknown")) | |
| ~PlayerContext () | |
| bool | CreatePlayer (TV *tv, QWidget *widget, TVState desiredState, bool embed, const QRect &embedBounds=QRect(), bool muted=false) |
| void | TeardownPlayer (void) |
| bool | StartPlaying (int maxWait=-1) |
| Starts player, must be called after StartRecorder(). | |
| void | StopPlaying (void) |
| void | UpdateTVChain (void) |
| bool | ReloadTVChain (void) |
| void | CreatePIPWindow (const QRect &, int pos=-1, QWidget *widget=NULL) |
| void | ResizePIPWindow (const QRect &) |
| Resize PIP Window. | |
| bool | StartPIPPlayer (TV *tv, TVState desiredState) |
| void | PIPTeardown (void) |
| stop player but pause the ringbuffer. | |
| void | SetNullVideo (bool setting) |
| bool | StartEmbedding (WId wid, const QRect &) |
| void | StopEmbedding (void) |
| void | PushPreviousChannel (void) |
| most recently selected channel to the previous channel list | |
| QString | PopPreviousChannel (void) |
| void | ChangeState (TVState newState) |
| Puts a state change on the nextState queue. | |
| void | ForceNextStateNone (void) |
| Removes any pending state changes, and puts kState_None on the queue. | |
| TVState | DequeueNextState (void) |
| void | ResizePIPWindow (void) |
| bool | HandlePlayerSpeedChangeFFRew (void) |
| bool | HandlePlayerSpeedChangeEOF (void) |
| void | LockState (void) const |
| void | UnlockState (void) const |
| void | LockPlayingInfo (const char *file, int line) const |
| void | UnlockPlayingInfo (const char *file, int line) const |
| void | LockDeletePlayer (const char *file, int line) const |
| prevent MythPlayer from being deleted used to ensure player can only be deleted after osd in TV() is unlocked. | |
| void | UnlockDeletePlayer (const char *file, int line) const |
| allow player to be deleted. | |
| void | LockOSD (void) const |
| void | UnlockOSD (void) const |
| void | SetInitialTVState (bool islivetv) |
| determine initial tv state and playgroup for the recording | |
| void | SetPlayer (MythPlayer *new_player) |
| void | SetRecorder (RemoteEncoder *rec) |
| void | SetTVChain (LiveTVChain *chain) |
| void | SetRingBuffer (RingBuffer *buf) |
| void | SetPlayingInfo (const ProgramInfo *info) |
| assign programinfo to the context | |
| void | SetPlayGroup (const QString &group) |
| void | SetPseudoLiveTV (const ProgramInfo *pi, PseudoState new_state) |
| void | SetPIPLocation (int loc) |
| void | SetPIPState (PIPState change) |
| void | SetPlayerChangingBuffers (bool val) |
| void | SetNoHardwareDecoders (void) |
| QRect | GetStandAlonePIPRect (void) |
| Get PIP more accurate display size for standalone PIP by factoring the aspect ratio of the video. | |
| PIPState | GetPIPState (void) const |
| QString | GetPreviousChannel (void) const |
| bool | CalcPlayerSliderPosition (osdInfo &info, bool paddedFields=false) const |
| uint | GetCardID (void) const |
| QString | GetFilters (const QString &baseFilters) const |
| QString | GetPlayMessage (void) const |
| TVState | GetState (void) const |
| bool | GetPlayingInfoMap (InfoMap &infoMap) const |
| bool | IsPIPSupported (void) const |
| Check if PIP is supported for current video renderer running. | |
| bool | IsPBPSupported (void) const |
| Check if PBP is supported for current video renderer running. | |
| bool | IsPIP (void) const |
| bool | IsPBP (void) const |
| bool | IsPrimaryPBP (void) const |
| bool | IsAudioNeeded (void) const |
| bool | IsNullVideoDesired (void) const |
| bool | IsPlayerChangingBuffers (void) const |
| bool | IsEmbedding (void) const |
| bool | HasPlayer (void) const |
| bool | IsPlayerErrored (void) const |
| bool | IsPlayerRecoverable (void) const |
| bool | IsPlayerDecoderErrored (void) const |
| bool | IsPlayerPlaying (void) const |
| bool | IsRecorderErrored (void) const |
| bool | InStateChange (void) const |
| bool | IsErrored (void) const |
| This is set if the player encountered some irrecoverable error. | |
| bool | IsSameProgram (const ProgramInfo &p) const |
| bool | IsValidLiveTV (void) const |
Public Attributes | |
| QString | recUsage |
| MythPlayer * | player |
| volatile bool | playerUnsafe |
| RemoteEncoder * | recorder |
| LiveTVChain * | tvchain |
| RingBuffer * | buffer |
| ProgramInfo * | playingInfo |
| Currently playing info. | |
| long long | playingLen |
| Initial CalculateLength(). | |
| bool | nohardwaredecoders |
| int | last_cardid |
| CardID of current/last recorder. | |
| int | ff_rew_state |
| 0 == normal, +1 == fast forward, -1 == rewind | |
| int | ff_rew_index |
| Index into ff_rew_speeds for FF and Rewind speeds. | |
| int | ff_rew_speed |
| Caches value of ff_rew_speeds[ff_rew_index]. | |
| TVState | playingState |
| bool | errored |
| StringDeque | prevChan |
| Previous channels. | |
| ProgramInfo * | pseudoLiveTVRec |
| PseudoState | pseudoLiveTVState |
| int | fftime |
| int | rewtime |
| int | jumptime |
| float | ts_normal |
| Time stretch speed, 1.0f for normal playback. | |
| float | ts_alt |
| QMutex | playingInfoLock |
| QMutex | deletePlayerLock |
| QMutex | stateLock |
| QStringList | lastSignalMsg |
| MythTimer | lastSignalMsgTime |
| InfoMap | lastSignalUIInfo |
| MythTimer | lastSignalUIInfoTime |
| MythDeque< TVState > | nextState |
| PIPState | pipState |
| QRect | pipRect |
| QWidget * | parentWidget |
| int | pipLocation |
| Position of PIP on TV screen. | |
| bool | useNullVideo |
| True iff software scaled PIP should be used. | |
Static Public Attributes | |
| static const uint | kSMExitTimeout = 2000 |
| Timeout after last Signal Monitor message for ignoring OSD when exiting. | |
| static const uint | kMaxChannelHistory = 30 |
Definition at line 45 of file playercontext.h.
| PlayerContext::PlayerContext | ( | const QString & | inUseID = QString("Unknown") |
) |
Definition at line 27 of file playercontext.cpp.
| PlayerContext::~PlayerContext | ( | ) |
Definition at line 52 of file playercontext.cpp.
| bool PlayerContext::CreatePlayer | ( | TV * | tv, | |
| QWidget * | widget, | |||
| TVState | desiredState, | |||
| bool | embed, | |||
| const QRect & | embedBounds = QRect(), |
|||
| bool | muted = false | |||
| ) |
Definition at line 372 of file playercontext.cpp.
Referenced by TV::CreatePBP(), TV::PBPRestartMainPlayer(), StartPIPPlayer(), TV::StartPlayer(), and TV::SwitchCards().
| void PlayerContext::TeardownPlayer | ( | void | ) |
Definition at line 58 of file playercontext.cpp.
Referenced by TV::TeardownPlayer(), and ~PlayerContext().
| bool PlayerContext::StartPlaying | ( | int | maxWait = -1 |
) |
Starts player, must be called after StartRecorder().
| maxWait | How long to wait for MythPlayer to start playing. |
Definition at line 448 of file playercontext.cpp.
Referenced by CreatePlayer().
| void PlayerContext::StopPlaying | ( | void | ) |
Definition at line 480 of file playercontext.cpp.
Referenced by PIPTeardown(), SetPlayer(), StartPlaying(), TV::StopStuff(), and TV::SwitchCards().
| void PlayerContext::UpdateTVChain | ( | void | ) |
Definition at line 486 of file playercontext.cpp.
Referenced by TV::timerEvent().
| bool PlayerContext::ReloadTVChain | ( | void | ) |
Definition at line 496 of file playercontext.cpp.
Referenced by TV::HandleStateChange(), StartPlaying(), TV::SwitchCards(), and TV::UnpauseLiveTV().
| void PlayerContext::CreatePIPWindow | ( | const QRect & | rect, | |
| int | pos = -1, |
|||
| QWidget * | widget = NULL | |||
| ) |
Definition at line 150 of file playercontext.cpp.
| void PlayerContext::ResizePIPWindow | ( | const QRect & | rect | ) |
Resize PIP Window.
Definition at line 249 of file playercontext.cpp.
Referenced by TV::ResizePIPWindow(), and TV::StartEmbedding().
Definition at line 199 of file playercontext.cpp.
Referenced by TV::StartPlayer().
| void PlayerContext::PIPTeardown | ( | void | ) |
stop player but pause the ringbuffer.
used in PIP/PBP swap or switching from PIP <-> PBP or enabling PBP
Definition at line 227 of file playercontext.cpp.
Referenced by TV::CreatePBP(), TV::PBPRestartMainPlayer(), and TV::TeardownAllPlayers().
| void PlayerContext::SetNullVideo | ( | bool | setting | ) | [inline] |
Definition at line 66 of file playercontext.h.
Referenced by TV::CreatePIP().
| bool PlayerContext::StartEmbedding | ( | WId | wid, | |
| const QRect & | embedRect | |||
| ) |
Definition at line 268 of file playercontext.cpp.
Referenced by TV::StartEmbedding().
| void PlayerContext::StopEmbedding | ( | void | ) |
Definition at line 291 of file playercontext.cpp.
Referenced by TV::StopEmbedding().
| void PlayerContext::PushPreviousChannel | ( | void | ) |
most recently selected channel to the previous channel list
Definition at line 514 of file playercontext.cpp.
Referenced by TV::ChangeChannel(), PopPreviousChannel(), TV::SwitchCards(), and TV::UnpauseLiveTV().
| QString PlayerContext::PopPreviousChannel | ( | void | ) |
Definition at line 533 of file playercontext.cpp.
Referenced by TV::PopPreviousChannel().
| void PlayerContext::ChangeState | ( | TVState | newState | ) |
Puts a state change on the nextState queue.
Definition at line 645 of file playercontext.cpp.
Referenced by TV::customEvent(), and SetInitialTVState().
| void PlayerContext::ForceNextStateNone | ( | void | ) |
Removes any pending state changes, and puts kState_None on the queue.
Definition at line 660 of file playercontext.cpp.
Referenced by TV::ForceNextStateNone().
| TVState PlayerContext::DequeueNextState | ( | void | ) |
Definition at line 651 of file playercontext.cpp.
Referenced by TV::HandleStateChange().
| void PlayerContext::ResizePIPWindow | ( | void | ) |
| bool PlayerContext::HandlePlayerSpeedChangeFFRew | ( | void | ) |
Definition at line 329 of file playercontext.cpp.
Referenced by TV::HandleSpeedChangeTimerEvent().
| bool PlayerContext::HandlePlayerSpeedChangeEOF | ( | void | ) |
Definition at line 342 of file playercontext.cpp.
Referenced by TV::HandleSpeedChangeTimerEvent().
| void PlayerContext::LockState | ( | void | ) | const |
Definition at line 613 of file playercontext.cpp.
Referenced by TV::HandleStateChange().
| void PlayerContext::UnlockState | ( | void | ) | const |
Definition at line 618 of file playercontext.cpp.
Referenced by TV::HandleStateChange().
| void PlayerContext::LockPlayingInfo | ( | const char * | file, | |
| int | line | |||
| ) | const |
Definition at line 569 of file playercontext.cpp.
Referenced by TVBrowseHelper::BrowseStart(), TV::ChangeChannel(), TV::CommitQueuedInput(), TV::customEvent(), MythPlayer::DisableEdit(), TV::DoEditSchedule(), TV::DoQueueTranscode(), MythPlayer::EnableEdit(), MythPlayer::EventLoop(), MythPlayer::EventStart(), MythDVDPlayer::EventStart(), MythBDPlayer::EventStart(), MythPlayer::FileChangedCallback(), TV::FillOSDMenuJobs(), TV::FillOSDMenuJumpRec(), MythPlayer::GetBookmark(), MythDVDPlayer::GetBookmark(), GetFilters(), GetPlayingInfoMap(), MythPlayer::GetRawVideoFrame(), TV::GetRecordingGroup(), TV::GetStatus(), TV::HandleOSDAlreadyEditing(), TV::HandleStateChange(), TV::IsBookmarkAllowed(), TV::IsDeleteAllowed(), DeleteMap::IsFileEditing(), MythPlayer::IsNearEnd(), IsSameProgram(), DeleteMap::IsSaved(), TV::ITVRestart(), DeleteMap::LoadAutoSaveMap(), DeleteMap::LoadMap(), CommBreakMap::LoadMap(), MythPlayer::OpenDummy(), MythPlayer::OpenFile(), TV::ProcessNetworkControlCommand(), MythCommFlagPlayer::RebuildSeekTable(), MythCCExtractorPlayer::run(), DeleteMap::SaveMap(), MythPlayer::SeekForScreenGrab(), MythPlayer::SetBookmark(), MythDVDPlayer::SetDVDBookmark(), DeleteMap::SetFileEditing(), SetInitialTVState(), MythPlayer::SetPlayingInfo(), MythPlayer::SetWatched(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), TV::ShowOSDStopWatchingRecording(), TV::StartProgramEditMode(), TV::SwitchCards(), TV::ToggleAutoExpire(), TV::ToggleRecord(), MythPlayer::TranscodeGetNextFrame(), and DeleteMap::UpdateOSD().
| void PlayerContext::UnlockPlayingInfo | ( | const char * | file, | |
| int | line | |||
| ) | const |
Definition at line 578 of file playercontext.cpp.
Referenced by TVBrowseHelper::BrowseStart(), TV::ChangeChannel(), TV::CommitQueuedInput(), TV::customEvent(), MythPlayer::DisableEdit(), TV::DoEditSchedule(), TV::DoQueueTranscode(), MythPlayer::EnableEdit(), MythPlayer::EventLoop(), MythPlayer::EventStart(), MythDVDPlayer::EventStart(), MythBDPlayer::EventStart(), MythPlayer::FileChangedCallback(), TV::FillOSDMenuJobs(), TV::FillOSDMenuJumpRec(), MythPlayer::GetBookmark(), MythDVDPlayer::GetBookmark(), GetFilters(), GetPlayingInfoMap(), MythPlayer::GetRawVideoFrame(), TV::GetRecordingGroup(), TV::GetStatus(), TV::HandleOSDAlreadyEditing(), TV::HandleStateChange(), TV::IsBookmarkAllowed(), TV::IsDeleteAllowed(), DeleteMap::IsFileEditing(), MythPlayer::IsNearEnd(), IsSameProgram(), DeleteMap::IsSaved(), TV::ITVRestart(), DeleteMap::LoadAutoSaveMap(), DeleteMap::LoadMap(), CommBreakMap::LoadMap(), MythPlayer::OpenDummy(), MythPlayer::OpenFile(), TV::ProcessNetworkControlCommand(), MythCommFlagPlayer::RebuildSeekTable(), MythCCExtractorPlayer::run(), DeleteMap::SaveMap(), MythPlayer::SeekForScreenGrab(), MythPlayer::SetBookmark(), MythDVDPlayer::SetDVDBookmark(), DeleteMap::SetFileEditing(), SetInitialTVState(), MythPlayer::SetPlayingInfo(), MythPlayer::SetWatched(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), TV::ShowOSDStopWatchingRecording(), TV::StartProgramEditMode(), TV::SwitchCards(), TV::ToggleAutoExpire(), TV::ToggleRecord(), MythPlayer::TranscodeGetNextFrame(), and DeleteMap::UpdateOSD().
| void PlayerContext::LockDeletePlayer | ( | const char * | file, | |
| int | line | |||
| ) | const |
prevent MythPlayer from being deleted used to ensure player can only be deleted after osd in TV() is unlocked.
Definition at line 592 of file playercontext.cpp.
Referenced by TV::ActiveHandleAction(), TV::ActivePostQHandleAction(), TV::ChangeAudioSync(), TV::ChangeChannel(), TV::ChangeSpeed(), TV::ChangeTimeStretch(), TV::ChangeVolume(), TV::ChannelEditXDSFill(), TV::ContextIsPaused(), TV::CreatePBP(), TV::customEvent(), TV::DoArbSeek(), TV::DoChangePictureAttribute(), TV::DoEditSchedule(), TV::DoJumpChapter(), TV::DoPlay(), TV::DoPlayerSeek(), TV::DoSeek(), TV::DoSeekAbsolute(), TV::DoSkipCommercials(), TV::DoSwitchAngle(), TV::DoSwitchTitle(), TV::DoToggleNightMode(), TV::DoTogglePause(), TV::DoTogglePauseStart(), TV::DoTogglePictureAttribute(), TV::DoToggleStudioLevels(), TV::DrawUnusedRects(), TV::DVDJumpBack(), TV::DVDJumpForward(), TV::EnableUpmix(), TV::EnableVisualisation(), TV::event(), TV::FillOSDMenuAudio(), TV::FillOSDMenuNavigate(), TV::FillOSDMenuPlayback(), TV::FillOSDMenuSubtitles(), TV::FillOSDMenuVideo(), TV::GetAngleName(), TV::GetChapterTimes(), TV::GetCurrentAngle(), TV::GetCurrentChapter(), TV::GetCurrentTitle(), TV::GetNumAngles(), TV::GetNumChapters(), TV::GetNumTitles(), TV::GetOSDL(), TV::GetStatus(), TV::GetTitleDuration(), TV::GetTitleName(), TV::Handle3D(), TV::HandleDeinterlacer(), TV::HandleEndOfRecordingExitPromptTimerEvent(), TV::HandleIsNearEndWhenEmbeddingTimerEvent(), TV::HandleOSDAlreadyEditing(), TV::HandleOSDVideoExit(), TV::HandleTrackAction(), IsEmbedding(), TV::ITVRestart(), TV::ManualZoomHandleAction(), TV::NormalSpeed(), TV::OSDDialogEvent(), TV::PauseAudioUntilBuffered(), TV::PauseLiveTV(), TV::PBPRestartMainPlayer(), TV::PIPAddPlayer(), TV::PlaybackLoop(), TV::PrepareToExitPlayer(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), TV::PxPToggleType(), ResizePIPWindow(), TV::RestartAllPlayers(), TV::RestartMainPlayer(), TV::SeekHandleAction(), TV::SetActive(), TV::SetAutoCommercialSkip(), TV::SetBookmark(), TV::SetFFRew(), StartEmbedding(), TV::StartProgramEditMode(), TV::StartTV(), StopEmbedding(), TV::StopFFRew(), TV::StopStuff(), TV::SwitchCards(), TV::TeardownAllPlayers(), TV::ToggleAdjustFill(), TV::ToggleAspectOverride(), TV::ToggleMute(), and TV::UnpauseLiveTV().
| void PlayerContext::UnlockDeletePlayer | ( | const char * | file, | |
| int | line | |||
| ) | const |
allow player to be deleted.
Definition at line 604 of file playercontext.cpp.
Referenced by TV::ActiveHandleAction(), TV::ActivePostQHandleAction(), TV::ChangeAudioSync(), TV::ChangeChannel(), TV::ChangeSpeed(), TV::ChangeTimeStretch(), TV::ChangeVolume(), TV::ChannelEditXDSFill(), TV::ContextIsPaused(), TV::CreatePBP(), TV::customEvent(), TV::DoArbSeek(), TV::DoChangePictureAttribute(), TV::DoEditSchedule(), TV::DoJumpChapter(), TV::DoPlay(), TV::DoPlayerSeek(), TV::DoSeek(), TV::DoSeekAbsolute(), TV::DoSkipCommercials(), TV::DoSwitchAngle(), TV::DoSwitchTitle(), TV::DoToggleNightMode(), TV::DoTogglePause(), TV::DoTogglePauseStart(), TV::DoTogglePictureAttribute(), TV::DoToggleStudioLevels(), TV::DrawUnusedRects(), TV::DVDJumpBack(), TV::DVDJumpForward(), TV::EnableUpmix(), TV::EnableVisualisation(), TV::event(), TV::FillOSDMenuAudio(), TV::FillOSDMenuNavigate(), TV::FillOSDMenuPlayback(), TV::FillOSDMenuSubtitles(), TV::FillOSDMenuVideo(), TV::GetAngleName(), TV::GetChapterTimes(), TV::GetCurrentAngle(), TV::GetCurrentChapter(), TV::GetCurrentTitle(), TV::GetNumAngles(), TV::GetNumChapters(), TV::GetNumTitles(), TV::GetOSDL(), TV::GetStatus(), TV::GetTitleDuration(), TV::GetTitleName(), TV::Handle3D(), TV::HandleDeinterlacer(), TV::HandleEndOfRecordingExitPromptTimerEvent(), TV::HandleIsNearEndWhenEmbeddingTimerEvent(), TV::HandleOSDAlreadyEditing(), TV::HandleOSDVideoExit(), TV::HandleTrackAction(), IsEmbedding(), TV::ITVRestart(), TV::ManualZoomHandleAction(), TV::NormalSpeed(), TV::OSDDialogEvent(), TV::PauseAudioUntilBuffered(), TV::PauseLiveTV(), TV::PBPRestartMainPlayer(), TV::PIPAddPlayer(), TV::PlaybackLoop(), TV::PrepareToExitPlayer(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), TV::PxPToggleType(), TV::ResizePIPWindow(), ResizePIPWindow(), TV::RestartAllPlayers(), TV::SeekHandleAction(), TV::SetActive(), TV::SetAutoCommercialSkip(), TV::SetBookmark(), TV::SetFFRew(), StartEmbedding(), TV::StartProgramEditMode(), TV::StartTV(), StopEmbedding(), TV::StopFFRew(), TV::StopStuff(), TV::SwitchCards(), TV::TeardownAllPlayers(), TV::ToggleAdjustFill(), TV::ToggleAspectOverride(), TV::ToggleMute(), and TV::UnpauseLiveTV().
| void PlayerContext::LockOSD | ( | void | ) | const |
Definition at line 623 of file playercontext.cpp.
Referenced by TV::GetOSDL().
| void PlayerContext::UnlockOSD | ( | void | ) | const |
Definition at line 628 of file playercontext.cpp.
Referenced by TV::GetOSDL().
| void PlayerContext::SetInitialTVState | ( | bool | islivetv | ) |
determine initial tv state and playgroup for the recording
| islivetv,: | true if recording is livetv |
Definition at line 76 of file playercontext.cpp.
Referenced by TV::CreatePBP(), TV::CreatePIP(), TV::LiveTV(), and TV::Playback().
| void PlayerContext::SetPlayer | ( | MythPlayer * | new_player | ) |
Definition at line 789 of file playercontext.cpp.
Referenced by CreatePlayer(), FlagCommercials(), PreviewGenerator::GetScreenGrab(), PIPTeardown(), RebuildSeekTable(), RunCCExtract(), StartPIPPlayer(), TV::SwitchCards(), TV::TeardownPlayer(), TeardownPlayer(), VideoPerformanceTest::Test(), and Transcode::TranscodeFile().
| void PlayerContext::SetRecorder | ( | RemoteEncoder * | rec | ) |
Definition at line 800 of file playercontext.cpp.
Referenced by FlagCommercials(), TV::HandleStateChange(), TV::RequestNextRecorder(), TV::SwitchCards(), and TeardownPlayer().
| void PlayerContext::SetTVChain | ( | LiveTVChain * | chain | ) |
Definition at line 815 of file playercontext.cpp.
Referenced by SetInitialTVState(), and TeardownPlayer().
| void PlayerContext::SetRingBuffer | ( | RingBuffer * | buf | ) |
Definition at line 839 of file playercontext.cpp.
Referenced by FlagCommercials(), PreviewGenerator::GetScreenGrab(), TV::HandleStateChange(), RebuildSeekTable(), RunCCExtract(), TV::SwitchCards(), TeardownPlayer(), VideoPerformanceTest::Test(), and Transcode::TranscodeFile().
| void PlayerContext::SetPlayingInfo | ( | const ProgramInfo * | info | ) |
assign programinfo to the context
Definition at line 853 of file playercontext.cpp.
Referenced by TV::CreatePBP(), TV::CreatePIP(), FlagCommercials(), PreviewGenerator::GetScreenGrab(), TV::Playback(), RebuildSeekTable(), ReloadTVChain(), RunCCExtract(), MythPlayer::SetPlayingInfo(), TeardownPlayer(), VideoPerformanceTest::Test(), and Transcode::TranscodeFile().
| void PlayerContext::SetPlayGroup | ( | const QString & | group | ) |
Definition at line 876 of file playercontext.cpp.
Referenced by SetInitialTVState().
| void PlayerContext::SetPseudoLiveTV | ( | const ProgramInfo * | pi, | |
| PseudoState | new_state | |||
| ) |
Definition at line 885 of file playercontext.cpp.
Referenced by TV::customEvent(), TV::SwitchCards(), and TV::ToggleRecord().
| void PlayerContext::SetPIPLocation | ( | int | loc | ) | [inline] |
Definition at line 102 of file playercontext.h.
| void PlayerContext::SetPIPState | ( | PIPState | change | ) | [inline] |
Definition at line 103 of file playercontext.h.
Referenced by TV::CreatePBP(), TV::CreatePIP(), and TV::PBPRestartMainPlayer().
| void PlayerContext::SetPlayerChangingBuffers | ( | bool | val | ) | [inline] |
Definition at line 104 of file playercontext.h.
Referenced by MythPlayer::FileChangedCallback(), and MythPlayer::JumpToProgram().
| void PlayerContext::SetNoHardwareDecoders | ( | void | ) | [inline] |
Definition at line 105 of file playercontext.h.
Referenced by TV::CreatePBP(), and TV::CreatePIP().
| QRect PlayerContext::GetStandAlonePIPRect | ( | void | ) |
Get PIP more accurate display size for standalone PIP by factoring the aspect ratio of the video.
Definition at line 172 of file playercontext.cpp.
Referenced by ResizePIPWindow().
| PIPState PlayerContext::GetPIPState | ( | void | ) | const [inline] |
Definition at line 109 of file playercontext.h.
Referenced by MythPlayer::InitVideo(), TV::PBPRestartMainPlayer(), and TV::SetManualZoom().
| QString PlayerContext::GetPreviousChannel | ( | void | ) | const |
Definition at line 554 of file playercontext.cpp.
Referenced by TV::FillOSDMenuNavigate(), and TV::ShowPreviousChannel().
Definition at line 355 of file playercontext.cpp.
Referenced by TV::DoSkipCommercials(), TV::GetStatus(), TV::HandleLCDTimerEvent(), TV::ProcessNetworkControlCommand(), TV::SetBookmark(), TV::timerEvent(), TV::ToggleOSD(), and TV::UpdateOSDSeekMessage().
| uint PlayerContext::GetCardID | ( | void | ) | const [inline] |
Definition at line 113 of file playercontext.h.
Referenced by TV::ChangeChannel(), TV::CommitQueuedInput(), TV::customEvent(), TV::FillOSDMenuSource(), TV::GetLastRecorderNum(), TV::IsTunable(), TV::ShowOSDAskAllow(), TV::SwitchCards(), TV::SwitchInputs(), TV::SwitchSource(), TV::ToggleInputs(), and TV::UpdateOSDInput().
| QString PlayerContext::GetFilters | ( | const QString & | baseFilters | ) | const |
Definition at line 728 of file playercontext.cpp.
Referenced by MythPlayer::SetVideoFilters().
| QString PlayerContext::GetPlayMessage | ( | void | ) | const |
Definition at line 767 of file playercontext.cpp.
Referenced by TV::ChangeFFRew(), TV::ChangeSpeed(), TV::ChangeTimeStretch(), TV::DoPlay(), TV::DoTogglePauseFinish(), TV::FFRewHandleAction(), TV::HandleSpeedChangeTimerEvent(), and TV::ProcessNetworkControlCommand().
| TVState PlayerContext::GetState | ( | void | ) | const |
Definition at line 667 of file playercontext.cpp.
Referenced by TV::ActiveHandleAction(), TV::CreatePBP(), TV::customEvent(), TV::DoQueueTranscode(), MythPlayer::EventLoop(), TV::FillOSDMenuJobs(), TV::FillOSDMenuNavigate(), TV::GetState(), TV::HandleEndOfPlaybackTimerEvent(), TV::HandleEndOfRecordingExitPromptTimerEvent(), TV::HandleJumpToProgramAction(), TV::HandleStateChange(), TV::IdleDialogTimeout(), MythPlayer::IsNearEnd(), TV::LiveTV(), TV::OSDDialogEvent(), TV::PBPRestartMainPlayer(), TV::Playback(), TV::ProcessNetworkControlCommand(), TV::RestartAllPlayers(), TV::ShowOSDPromptDeleteRecording(), TV::SwitchCards(), and TV::timerEvent().
Definition at line 673 of file playercontext.cpp.
Referenced by TV::ShowOSDPromptDeleteRecording(), TV::UpdateOSDProgInfo(), and TV::UpdateOSDSignal().
| bool PlayerContext::IsPIPSupported | ( | void | ) | const |
Check if PIP is supported for current video renderer running.
Current support written for XV, Opengl and VDPAU. Not sure about ivtv.
Definition at line 119 of file playercontext.cpp.
Referenced by TV::IsPIPSupported().
| bool PlayerContext::IsPBPSupported | ( | void | ) | const |
Check if PBP is supported for current video renderer running.
Current support written for XV and Opengl. Not sure about ivtv.
Definition at line 137 of file playercontext.cpp.
Referenced by TV::IsPBPSupported().
| bool PlayerContext::IsPIP | ( | void | ) | const [inline] |
Definition at line 122 of file playercontext.h.
Referenced by TV::customEvent(), MythPlayer::EventLoop(), MythPlayer::GetCurrentFrame(), TV::GetOSDL(), TV::HandleStateChange(), MythPlayer::InitialSeek(), MythPlayer::IsNearEnd(), TV::PIPAddPlayer(), TV::PxPTeardownView(), ResizePIPWindow(), SetTVChain(), TV::StartPlayer(), and MythPlayer::VideoStart().
| bool PlayerContext::IsPBP | ( | void | ) | const [inline] |
Definition at line 124 of file playercontext.h.
Referenced by TV::CreatePIP(), TV::FillOSDMenuPlayback(), TV::HandlePxPTimerEvent(), MythPlayer::OpenFile(), TV::PxPCreateView(), TV::PxPToggleType(), TV::TeardownPlayer(), and TV::ToggleAdjustFill().
| bool PlayerContext::IsPrimaryPBP | ( | void | ) | const [inline] |
Definition at line 126 of file playercontext.h.
Referenced by MythPlayer::OpenFile().
| bool PlayerContext::IsAudioNeeded | ( | void | ) | const [inline] |
Definition at line 128 of file playercontext.h.
Referenced by CreatePlayer(), and MythPlayer::IsAudioNeeded().
| bool PlayerContext::IsNullVideoDesired | ( | void | ) | const [inline] |
Definition at line 130 of file playercontext.h.
Referenced by TV::StartEmbedding(), and TV::StartPlayer().
| bool PlayerContext::IsPlayerChangingBuffers | ( | void | ) | const [inline] |
Definition at line 131 of file playercontext.h.
Referenced by TV::ProcessKeypress(), and TV::ProcessNetworkControlCommand().
| bool PlayerContext::IsEmbedding | ( | void | ) | const |
Definition at line 281 of file playercontext.cpp.
Referenced by TV::StartEmbedding(), and TV::StopEmbedding().
| bool PlayerContext::HasPlayer | ( | void | ) | const |
Definition at line 299 of file playercontext.cpp.
Referenced by TV::ActiveHandleAction(), CreatePlayer(), TV::DoTogglePauseFinish(), TV::DVDJumpBack(), TV::DVDJumpForward(), TV::event(), TV::ProcessNetworkControlCommand(), TV::ResizePIPWindow(), TV::StartPlayer(), TV::TeardownPlayer(), and TV::UnpauseLiveTV().
| bool PlayerContext::IsPlayerErrored | ( | void | ) | const |
Definition at line 305 of file playercontext.cpp.
Referenced by TV::timerEvent().
| bool PlayerContext::IsPlayerRecoverable | ( | void | ) | const |
Definition at line 311 of file playercontext.cpp.
Referenced by TV::timerEvent().
| bool PlayerContext::IsPlayerDecoderErrored | ( | void | ) | const |
Definition at line 317 of file playercontext.cpp.
Referenced by TV::timerEvent().
| bool PlayerContext::IsPlayerPlaying | ( | void | ) | const |
Definition at line 323 of file playercontext.cpp.
Referenced by TV::HandleEndOfPlaybackTimerEvent(), TV::PBPRestartMainPlayer(), TV::PIPAddPlayer(), and TV::PxPToggleType().
| bool PlayerContext::IsRecorderErrored | ( | void | ) | const |
Definition at line 367 of file playercontext.cpp.
Referenced by MythPlayer::EventLoop(), and TV::timerEvent().
| bool PlayerContext::InStateChange | ( | void | ) | const |
Definition at line 633 of file playercontext.cpp.
Referenced by TV::GetState(), and TV::HandlePseudoLiveTVTimerEvent().
| bool PlayerContext::IsErrored | ( | void | ) | const [inline] |
This is set if the player encountered some irrecoverable error.
Definition at line 141 of file playercontext.h.
Referenced by TV::HandleStateChange(), and TV::timerEvent().
| bool PlayerContext::IsSameProgram | ( | const ProgramInfo & | p | ) | const |
Definition at line 718 of file playercontext.cpp.
Referenced by TV::IsSameProgram().
| bool PlayerContext::IsValidLiveTV | ( | void | ) | const [inline] |
Definition at line 143 of file playercontext.h.
| QString PlayerContext::recUsage |
Definition at line 147 of file playercontext.h.
Referenced by SetPlayingInfo().
Definition at line 148 of file playercontext.h.
Referenced by TV::ActiveHandleAction(), TV::ActivePostQHandleAction(), CalcPlayerSliderPosition(), TV::ChangeAudioSync(), TV::ChangeChannel(), TV::ChangeSpeed(), TV::ChangeTimeStretch(), TV::ChangeVolume(), TV::ChannelEditXDSFill(), TV::ContextIsPaused(), TV::CreatePBP(), CreatePlayer(), TV::customEvent(), TV::DiscMenuHandleAction(), TV::DoArbSeek(), TV::DoChangePictureAttribute(), TV::DoEditSchedule(), TV::DoJumpChapter(), TV::DoPlay(), TV::DoPlayerSeek(), TV::DoSeek(), TV::DoSeekAbsolute(), TV::DoSkipCommercials(), TV::DoSwitchAngle(), TV::DoSwitchTitle(), TV::DoToggleNightMode(), TV::DoTogglePause(), TV::DoTogglePauseStart(), TV::DoTogglePictureAttribute(), TV::DoToggleStudioLevels(), TV::DrawUnusedRects(), TV::DVDJumpBack(), TV::DVDJumpForward(), TV::EnableUpmix(), TV::EnableVisualisation(), TV::event(), TV::FillOSDMenuAudio(), TV::FillOSDMenuNavigate(), TV::FillOSDMenuPlayback(), TV::FillOSDMenuSubtitles(), TV::FillOSDMenuVideo(), TV::GetAngleName(), TV::GetChapterTimes(), TV::GetCurrentAngle(), TV::GetCurrentChapter(), TV::GetCurrentTitle(), TV::GetNumAngles(), TV::GetNumChapters(), TV::GetNumTitles(), TV::GetOSDL(), GetPlayingInfoMap(), PreviewGenerator::GetScreenGrab(), GetStandAlonePIPRect(), TV::GetStatus(), TV::GetTitleDuration(), TV::GetTitleName(), TV::Handle3D(), TV::HandleDeinterlacer(), TV::HandleEndOfRecordingExitPromptTimerEvent(), TV::HandleIsNearEndWhenEmbeddingTimerEvent(), TV::HandleOSDAlreadyEditing(), TV::HandleOSDCutpoint(), TV::HandleOSDVideoExit(), HandlePlayerSpeedChangeEOF(), HandlePlayerSpeedChangeFFRew(), TV::HandleTrackAction(), HasPlayer(), IsEmbedding(), IsPBPSupported(), IsPIPSupported(), IsPlayerDecoderErrored(), IsPlayerErrored(), IsPlayerPlaying(), IsPlayerRecoverable(), TV::ITVRestart(), LockOSD(), TV::ManualZoomHandleAction(), TV::NormalSpeed(), TV::OSDDialogEvent(), TV::PauseAudioUntilBuffered(), TV::PauseLiveTV(), TV::PBPRestartMainPlayer(), TV::PIPAddPlayer(), TV::PIPRemovePlayer(), TV::PlaybackLoop(), TV::PrepareToExitPlayer(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), TV::PxPSwap(), TV::PxPToggleType(), TV::ResizePIPWindow(), ResizePIPWindow(), TV::RestartAllPlayers(), TV::RestartMainPlayer(), TV::SeekHandleAction(), TV::SetActive(), TV::SetAutoCommercialSkip(), TV::SetBookmark(), TV::SetFFRew(), SetPlayer(), TV::ShowOSDCutpoint(), StartEmbedding(), StartPlaying(), TV::StartProgramEditMode(), TV::StartTV(), StopEmbedding(), TV::StopFFRew(), StopPlaying(), TV::SwitchCards(), TV::TeardownAllPlayers(), TV::timerEvent(), TV::ToggleAdjustFill(), TV::ToggleAspectOverride(), TV::ToggleMute(), TV::ToggleOSDDebug(), UnlockOSD(), TV::UnpauseLiveTV(), TV::UpdateOSDDebug(), and UpdateTVChain().
| volatile bool PlayerContext::playerUnsafe |
Definition at line 149 of file playercontext.h.
Definition at line 150 of file playercontext.h.
Referenced by TV::ActiveHandleAction(), TVBrowseHelper::BrowseChannel(), MythPlayer::CalcMaxFFTime(), MythPlayer::calcSliderPos(), TV::ChangeChannel(), TV::customEvent(), TV::DoChangePictureAttribute(), TV::DoTogglePictureAttribute(), MythPlayer::EventLoop(), TV::FillOSDMenuSource(), TV::FinishRecording(), TVBrowseHelper::GetNextProgram(), MythPlayer::GetSecondsBehind(), MythPlayer::GetStatusbarPos(), TV::HandleOSDAskAllow(), TV::HandleOSDChannelEdit(), TV::HandleStateChange(), MythPlayer::IsNearEnd(), IsRecorderErrored(), TV::IsTunable(), TV::PauseLiveTV(), MythPlayer::PosMapFromEnc(), TV::ProcessSmartChannel(), SetRecorder(), TV::ShowOSDAskAllow(), TV::StartChannelEditMode(), TV::StartRecorder(), TV::StopStuff(), TV::SwitchCards(), TV::SwitchInputs(), TV::SwitchSource(), TV::ToggleChannelFavorite(), TV::ToggleInputs(), TV::ToggleRecord(), TV::UpdateOSDInput(), TV::UpdateOSDTimeoutMessage(), and MythPlayer::WaitForSeek().
Definition at line 151 of file playercontext.h.
Referenced by MythPlayer::CalcMaxFFTime(), MythPlayer::CalcRWTime(), MythPlayer::calcSliderPos(), MythPlayer::CheckTVChain(), TV::customEvent(), MythPlayer::DecoderLoop(), MythPlayer::EventLoop(), MythPlayer::FileChangedCallback(), TV::FillOSDMenuNavigate(), GetPreviousChannel(), TV::HandleStateChange(), MythPlayer::HasTVChainNext(), MythPlayer::IsNearEnd(), MythPlayer::JumpToProgram(), MythPlayer::OpenFile(), TV::OSDDialogEvent(), TV::PopPreviousChannel(), PopPreviousChannel(), PushPreviousChannel(), ReloadTVChain(), MythPlayer::SetPlayerInfo(), SetTVChain(), TV::SwitchCards(), MythPlayer::SwitchToProgram(), TV::UnpauseLiveTV(), TV::UpdateOSDInput(), UpdateTVChain(), and MythPlayer::WaitForSeek().
Definition at line 152 of file playercontext.h.
Referenced by TV::ActiveHandleAction(), MythDVDPlayer::CalcMaxFFTime(), MythDVDPlayer::ChangeSpeed(), TV::ChangeVolume(), MythPlayer::CreateDecoder(), MythDVDPlayer::CreateDecoder(), MythBDPlayer::CreateDecoder(), TV::CreatePBP(), CreatePlayer(), MythDVDPlayer::DecoderGetFrameREW(), MythDVDPlayer::DisableCaptions(), TV::DiscMenuHandleAction(), MythDVDPlayer::DisplayDVDButton(), MythBDPlayer::DisplayMenu(), MythDVDPlayer::DisplayPauseFrame(), MythBDPlayer::DisplayPauseFrame(), MythPlayer::DoFastForward(), MythDVDPlayer::DoJumpChapter(), TV::DoPlayerSeek(), MythPlayer::DoRewind(), TV::DoTogglePauseFinish(), TV::DoTogglePauseStart(), TV::DVDJumpBack(), TV::DVDJumpForward(), MythDVDPlayer::EnableCaptions(), MythDVDPlayer::EventEnd(), MythDVDPlayer::EventStart(), MythBDPlayer::EventStart(), MythPlayer::FileChangedCallback(), TV::FillOSDMenuNavigate(), MythPlayer::GetBookmark(), MythDVDPlayer::GetBookmark(), MythBDPlayer::GetChapter(), MythDVDPlayer::GetChapterTimes(), MythBDPlayer::GetChapterTimes(), MythDVDPlayer::GetCurrentAngle(), MythBDPlayer::GetCurrentAngle(), MythDVDPlayer::GetCurrentChapter(), MythBDPlayer::GetCurrentChapter(), MythBDPlayer::GetCurrentTitle(), MythDVDPlayer::GetNumAngles(), MythBDPlayer::GetNumAngles(), MythDVDPlayer::GetNumChapters(), MythBDPlayer::GetNumChapters(), MythBDPlayer::GetNumTitles(), MythPlayer::GetPlaybackData(), MythDVDPlayer::GetSecondsPlayed(), MythBDPlayer::GetTitleDuration(), MythDVDPlayer::GoToDVDProgram(), MythDVDPlayer::GoToMenu(), MythBDPlayer::GoToMenu(), TV::HandleLCDTimerEvent(), TV::HandleStateChange(), MythDVDPlayer::InitialSeek(), TV::IsBookmarkAllowed(), MythPlayer::IsReallyNearEnd(), MythPlayer::JumpToProgram(), MythBDPlayer::NextTitle(), MythPlayer::OpenFile(), MythPlayer::PauseBuffer(), TV::PauseLiveTV(), TV::PBPRestartMainPlayer(), PIPTeardown(), MythDVDPlayer::PrepareAudioSample(), MythBDPlayer::PrevTitle(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), MythDVDPlayer::ReleaseNextVideoFrame(), TV::RestartAllPlayers(), MythDVDPlayer::SeekForScreenGrab(), MythDVDPlayer::SetBookmark(), MythDVDPlayer::SetDVDBookmark(), TV::SetFFRew(), SetRingBuffer(), MythDVDPlayer::SetTrack(), TV::ShowLCDDVDInfo(), TV::ShowOSDStopWatchingRecording(), MythDVDPlayer::StillFrameCheck(), TV::StopStuff(), MythDVDPlayer::SwitchAngle(), MythBDPlayer::SwitchAngle(), TV::SwitchCards(), MythBDPlayer::SwitchTitle(), MythPlayer::SwitchToProgram(), TV::timerEvent(), TV::ToggleOSDDebug(), MythPlayer::UnpauseBuffer(), TV::UnpauseLiveTV(), MythDVDPlayer::VideoLoop(), and MythBDPlayer::VideoLoop().
Currently playing info.
Definition at line 153 of file playercontext.h.
Referenced by TVBrowseHelper::BrowseStart(), TV::ChangeChannel(), TV::CommitQueuedInput(), MythPlayer::CreateDecoder(), MythDVDPlayer::CreateDecoder(), MythBDPlayer::CreateDecoder(), TV::customEvent(), MythPlayer::DisableEdit(), TV::DoEditSchedule(), TV::DoPlay(), TV::DoQueueTranscode(), TV::DoTogglePause(), MythPlayer::EnableEdit(), MythPlayer::EventLoop(), MythPlayer::EventStart(), MythDVDPlayer::EventStart(), MythBDPlayer::EventStart(), MythPlayer::FileChangedCallback(), TV::FillOSDMenuJobs(), TV::FillOSDMenuJumpRec(), MythPlayer::GetBookmark(), MythDVDPlayer::GetBookmark(), GetFilters(), GetPlayingInfoMap(), MythPlayer::GetRawVideoFrame(), TV::GetRecordingGroup(), TV::GetStatus(), TV::HandleOSDAlreadyEditing(), TV::HandleStateChange(), TV::IsBookmarkAllowed(), TV::IsDeleteAllowed(), DeleteMap::IsFileEditing(), MythPlayer::IsNearEnd(), IsSameProgram(), DeleteMap::IsSaved(), TV::ITVRestart(), DeleteMap::LoadAutoSaveMap(), DeleteMap::LoadMap(), CommBreakMap::LoadMap(), MythPlayer::OpenDummy(), MythPlayer::OpenFile(), TV::ProcessNetworkControlCommand(), MythCommFlagPlayer::RebuildSeekTable(), MythCCExtractorPlayer::run(), DeleteMap::SaveMap(), MythPlayer::SeekForScreenGrab(), MythPlayer::SetBookmark(), MythDVDPlayer::SetDVDBookmark(), DeleteMap::SetFileEditing(), SetInitialTVState(), SetPlayingInfo(), MythPlayer::SetWatched(), TV::ShowLCDChannelInfo(), TV::ShowOSDPromptDeleteRecording(), TV::ShowOSDStopWatchingRecording(), TV::StartProgramEditMode(), TV::SwitchCards(), TV::ToggleAutoExpire(), TV::ToggleRecord(), MythPlayer::TranscodeGetNextFrame(), and DeleteMap::UpdateOSD().
| long long PlayerContext::playingLen |
Initial CalculateLength().
Definition at line 154 of file playercontext.h.
Referenced by CreatePlayer(), and SetPlayingInfo().
Definition at line 155 of file playercontext.h.
Referenced by CreatePlayer().
CardID of current/last recorder.
Definition at line 156 of file playercontext.h.
Referenced by TVBrowseHelper::BrowseChannel(), and SetRecorder().
0 == normal, +1 == fast forward, -1 == rewind
Definition at line 158 of file playercontext.h.
Referenced by TV::ChangeFFRew(), TV::DoPlay(), TV::DoTogglePauseStart(), TV::FFRewHandleAction(), HandlePlayerSpeedChangeFFRew(), TV::Init(), TV::ProcessNetworkControlCommand(), TV::SetFFRew(), TV::ShowOSDPromptDeleteRecording(), TV::StopFFRew(), and TeardownPlayer().
Index into ff_rew_speeds for FF and Rewind speeds.
Definition at line 160 of file playercontext.h.
Referenced by TV::ChangeFFRew(), HandlePlayerSpeedChangeFFRew(), TV::Init(), TV::SetFFRew(), TV::StopFFRew(), and TeardownPlayer().
Caches value of ff_rew_speeds[ff_rew_index].
Definition at line 162 of file playercontext.h.
Referenced by TV::ChangeSpeed(), TV::DoPlay(), TV::DoTogglePauseStart(), TV::FFRewHandleAction(), HandlePlayerSpeedChangeFFRew(), TV::Init(), TV::NormalSpeed(), TV::ProcessNetworkControlCommand(), TV::SetFFRew(), and TeardownPlayer().
Definition at line 163 of file playercontext.h.
Referenced by GetPlayingInfoMap(), GetState(), and TV::HandleStateChange().
Definition at line 165 of file playercontext.h.
Referenced by TV::SetErrored(), and TV::StartTV().
Previous channels.
Definition at line 168 of file playercontext.h.
Referenced by TV::ChangeChannel(), GetPreviousChannel(), TV::HandlePseudoLiveTVTimerEvent(), PopPreviousChannel(), and PushPreviousChannel().
Definition at line 171 of file playercontext.h.
Referenced by TV::HandlePseudoLiveTVTimerEvent(), and SetPseudoLiveTV().
Definition at line 172 of file playercontext.h.
Referenced by TV::ChangeChannel(), TV::HandlePseudoLiveTVTimerEvent(), TV::IsTunable(), SetPseudoLiveTV(), and TV::ToggleHandleAction().
Definition at line 174 of file playercontext.h.
Referenced by TV::ProcessNetworkControlCommand(), TV::SeekHandleAction(), and SetPlayGroup().
Definition at line 175 of file playercontext.h.
Referenced by TV::ProcessNetworkControlCommand(), TV::SeekHandleAction(), and SetPlayGroup().
Definition at line 176 of file playercontext.h.
Referenced by TV::DoJumpFFWD(), TV::DoJumpRWND(), TV::DVDJumpBack(), TV::DVDJumpForward(), and SetPlayGroup().
| float PlayerContext::ts_normal |
Time stretch speed, 1.0f for normal playback.
Begins at 1.0f meaning normal playback, but can be increased or decreased to speedup or slowdown playback. Ignored when doing Fast Forward or Rewind.
Definition at line 183 of file playercontext.h.
Referenced by TV::ChangeSpeed(), TV::ChangeTimeStretch(), CreatePlayer(), TV::DoPlay(), TV::DoTogglePauseStart(), TV::FillOSDMenuPlayback(), GetPlayMessage(), HandlePlayerSpeedChangeEOF(), TV::Init(), TV::NormalSpeed(), TV::OSDDialogEvent(), TV::ProcessNetworkControlCommand(), SetPlayGroup(), TV::StopFFRew(), TeardownPlayer(), TV::ToggleTimeStretch(), and TV::UnpauseLiveTV().
| float PlayerContext::ts_alt |
Definition at line 184 of file playercontext.h.
Referenced by SetPlayGroup(), and TV::ToggleTimeStretch().
QMutex PlayerContext::playingInfoLock [mutable] |
Definition at line 186 of file playercontext.h.
Referenced by LockPlayingInfo(), SetPlayingInfo(), and UnlockPlayingInfo().
QMutex PlayerContext::deletePlayerLock [mutable] |
Definition at line 187 of file playercontext.h.
Referenced by CalcPlayerSliderPosition(), GetStandAlonePIPRect(), HandlePlayerSpeedChangeEOF(), HandlePlayerSpeedChangeFFRew(), HasPlayer(), IsPBPSupported(), IsPIPSupported(), IsPlayerDecoderErrored(), IsPlayerErrored(), IsPlayerPlaying(), IsPlayerRecoverable(), LockDeletePlayer(), TV::PIPAddPlayer(), TV::PIPRemovePlayer(), PIPTeardown(), TV::PxPSwap(), TV::ResizePIPWindow(), TV::RestartMainPlayer(), SetPlayer(), UnlockDeletePlayer(), and UpdateTVChain().
QMutex PlayerContext::stateLock [mutable] |
Definition at line 188 of file playercontext.h.
Referenced by ChangeState(), DequeueNextState(), ForceNextStateNone(), GetState(), InStateChange(), LockState(), and UnlockState().
QStringList PlayerContext::lastSignalMsg [mutable] |
Definition at line 191 of file playercontext.h.
Referenced by TV::PauseLiveTV(), TV::timerEvent(), and TV::UpdateOSDSignal().
MythTimer PlayerContext::lastSignalMsgTime [mutable] |
Definition at line 192 of file playercontext.h.
Referenced by TV::ActiveHandleAction(), PlayerContext(), and TV::UpdateOSDSignal().
InfoMap PlayerContext::lastSignalUIInfo [mutable] |
Definition at line 193 of file playercontext.h.
Referenced by TV::HandleStateChange(), TV::PauseLiveTV(), TV::SwitchCards(), and TV::UpdateOSDSignal().
MythTimer PlayerContext::lastSignalUIInfoTime [mutable] |
Definition at line 194 of file playercontext.h.
Referenced by TV::UpdateOSDSignal().
Definition at line 197 of file playercontext.h.
Referenced by ChangeState(), DequeueNextState(), ForceNextStateNone(), TV::HandleStateChange(), InStateChange(), TV::timerEvent(), and ~PlayerContext().
Definition at line 200 of file playercontext.h.
Referenced by CreatePlayer(), and ResizePIPWindow().
| QRect PlayerContext::pipRect |
Definition at line 201 of file playercontext.h.
Referenced by CreatePIPWindow(), GetStandAlonePIPRect(), ResizePIPWindow(), and StartPIPPlayer().
| QWidget* PlayerContext::parentWidget |
Definition at line 202 of file playercontext.h.
Referenced by CreatePIPWindow(), PIPTeardown(), and StartPIPPlayer().
Position of PIP on TV screen.
Definition at line 204 of file playercontext.h.
Referenced by CreatePIPWindow().
True iff software scaled PIP should be used.
Definition at line 206 of file playercontext.h.
Referenced by CreatePlayer(), PIPTeardown(), and StartPIPPlayer().
const uint PlayerContext::kSMExitTimeout = 2000 [static] |
Timeout after last Signal Monitor message for ignoring OSD when exiting.
Definition at line 209 of file playercontext.h.
Referenced by TV::ActiveHandleAction(), and PlayerContext().
const uint PlayerContext::kMaxChannelHistory = 30 [static] |
Definition at line 210 of file playercontext.h.
Referenced by PushPreviousChannel().
1.6.3