I’m having and issue with kodi 17 across multiple skins. If I currently have a channel playing, open the epg and change the channel the active playing channel and the epg flicker back and forth between each other until the new channel loads.
If a channel isn’t already playing when I choose a channel from the epg then the channel will load as expected with a ‘loading’ wheel.
Below is a log from when I perform the described actions above (changing channels from the epg while a channel is currently playing and waiting for the new channel to load).
Code:
17:46:04.382 T:140483777138176 NOTICE: CVideoPlayer::CloseFile()
17:46:04.382 T:140483777138176 NOTICE: VideoPlayer: waiting for threads to exit
17:46:04.392 T:140479561914112 NOTICE: CVideoPlayer::OnExit()
17:46:04.392 T:140479561914112 NOTICE: Closing stream player 1
17:46:04.392 T:140479561914112 NOTICE: Waiting for audio thread to exit
17:46:04.399 T:140481040205568 NOTICE: thread end: CVideoPlayerAudio::OnExit()
17:46:04.399 T:140479561914112 NOTICE: Closing audio device
17:46:04.434 T:140479561914112 NOTICE: Deleting audio codec
17:46:04.434 T:140479561914112 NOTICE: Closing stream player 2
17:46:04.434 T:140479561914112 NOTICE: waiting for video thread to exit
17:46:04.476 T:140481585469184 NOTICE: thread end: video_thread
17:46:04.477 T:140479561914112 NOTICE: deleting video codec
17:46:04.477 T:140479561914112 NOTICE: CVDPAU::Release pre-cleanup
17:46:04.477 T:140481560291072 NOTICE: CMixer::OnExit: Output Thread terminated
17:46:04.477 T:140479561914112 NOTICE: Closing stream player 4
17:46:04.478 T:140479561914112 NOTICE: waiting for teletext data thread to exit
17:46:04.478 T:140482273343232 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)
17:46:04.478 T:140482273343232 NOTICE: thread end: data_thread
17:46:04.543 T:140483777138176 NOTICE: VideoPlayer: finished waiting
17:46:04.543 T:140483777138176 NOTICE: (VDPAU) Close
17:46:04.543 T:140483777138176 NOTICE: (VDPAU) FiniVDPAUOutput
17:46:04.543 T:140482122340096 NOTICE: VDPAU::COutput: vdpau gl interop finished
17:46:04.545 T:140482122340096 NOTICE: COutput::OnExit: Output Thread terminated
17:46:04.545 T:140483777138176 NOTICE: VDPAU::Close - closing decoder context
17:46:04.546 T:140483777138176 NOTICE: VideoPlayer: Opening: pvr://channels/tv/All channels/pvr.iptvsimple_1381159378.pvr
17:46:04.546 T:140482122340096 NOTICE: Creating InputStream
17:46:07.620 T:140482122340096 NOTICE: Creating Demuxer
17:46:07.906 T:140482122340096 NOTICE: Opening stream: 0 source: 256
17:46:07.906 T:140482122340096 NOTICE: Creating video codec with codec id: 28
17:46:07.906 T:140482122340096 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
17:46:07.907 T:140482122340096 NOTICE: Creating video thread
17:46:07.907 T:140482122340096 NOTICE: Opening stream: 1 source: 256
17:46:07.907 T:140482122340096 NOTICE: Finding audio codec for: 86018
17:46:07.907 T:140479503152896 NOTICE: running thread: video_thread
17:46:07.908 T:140482122340096 NOTICE: Creating audio thread
17:46:07.908 T:140482122340096 NOTICE: Opening stream: 2 source: 256
17:46:07.908 T:140482122340096 NOTICE: waiting for teletext data thread to exit
17:46:07.908 T:140482273343232 NOTICE: running thread: CVideoPlayerAudio::Process()
17:46:07.909 T:140482122340096 NOTICE: Creating teletext data thread
17:46:07.910 T:140483112163072 NOTICE: running thread: CDVDTeletextData
17:46:07.927 T:140482122340096 NOTICE: Opening stream: 0 source: 256
17:46:07.927 T:140482122340096 NOTICE: Creating video codec with codec id: 28
17:46:07.927 T:140482122340096 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
17:46:07.927 T:140482122340096 NOTICE: Opening stream: 1 source: 256
17:46:07.928 T:140482122340096 NOTICE: Opening stream: 2 source: 256
17:46:07.928 T:140479503152896 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(1920x1080)
17:46:07.928 T:140482273343232 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
17:46:07.928 T:140479503152896 NOTICE: VDPAU::CreateContext - creating decoder context
17:46:07.930 T:140479503152896 NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
17:46:07.930 T:140479503152896 NOTICE: VDPAU Decoder capabilities:
17:46:07.930 T:140479503152896 NOTICE: name level macbs width height
17:46:07.930 T:140479503152896 NOTICE: ------------------------------------
17:46:07.930 T:140479503152896 NOTICE: MPEG2_SIMPLE 3 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: MPEG2_MAIN 3 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: H264_BASELINE 41 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: H264_MAIN 41 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: H264_HIGH 41 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: VC1_SIMPLE 1 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: VC1_MAIN 2 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: VC1_ADVANCED 4 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: MPEG4_PART2_ASP 5 9216 2048 1152
17:46:07.930 T:140479503152896 NOTICE: ------------------------------------
17:46:07.930 T:140479503152896 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
17:46:07.930 T:140479503152896 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
17:46:07.930 T:140479503152896 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
17:46:08.183 T:140479503152896 NOTICE: (VDPAU) screenWidth:1920 vidWidth:1920 surfaceWidth:1920
17:46:08.183 T:140479503152896 NOTICE: (VDPAU) screenHeight:1080 vidHeight:1080 surfaceHeight:1088
17:46:08.185 T:140481040205568 NOTICE: COutput::OnStartup: Output Thread created
17:46:08.436 T:140481040205568 NOTICE: VDPAU::COutput::CreateGlxContext - created context
17:46:08.436 T:140481040205568 NOTICE: VDPAU::COutput: vdpau gl interop initialized
17:46:08.436 T:140482223085312 NOTICE: CMixer::OnStartup: Output Thread created
17:46:08.436 T:140482223085312 NOTICE: (VDPAU) Creating the video mixer
17:46:08.437 T:140481040205568 NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
17:46:08.446 T:140481040205568 NOTICE: Previous line repeats 6 times.
17:46:08.446 T:140481040205568 NOTICE: VDPAU::COutput registered output surfaces
17:46:08.553 T:140483777138176 NOTICE: Previous line repeats 6 times.
17:46:08.553 T:140483777138176 NOTICE: GL: Using VDPAU render method
17:46:08.553 T:140483777138176 NOTICE: GL: NPOT texture support detected
17:46:08.553 T:140483777138176 NOTICE: GL: Using GL_ARB_pixel_buffer_object
17:46:08.553 T:140483777138176 NOTICE: Using GL_TEXTURE_2D
17:46:09.068 T:140479503152896 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
17:46:09.518 T:140479503152896 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000