pipelka/xbmc — comment on commit c5cbda68212a902a283c9af14e7de08c495aafba
File:  line 0
By pipelka:

No. This is just a shot in the dark. To be honest.
I just noticed that streaming always stops at this point. I changed that one line and everything works as expected.

Here is the log that gave me the hint:

16:35:08 T:140216035424000 DEBUG: AddOnLog: VDR XVDR Client: SendPing
16:35:08 T:140215918262016 INFO: AddOnLog: VDR XVDR Client: DemuxRead
16:35:16 T:140216035424000 INFO: Previous line repeats 3 times.
16:35:16 T:140216035424000 DEBUG: AddOnLog: VDR XVDR Client: SendPing
16:35:18 T:140215918262016 INFO: AddOnLog: VDR XVDR Client: DemuxRead
16:35:24 T:140216035424000 INFO: Previous line repeats 2 times.
16:35:24 T:140216035424000 DEBUG: AddOnLog: VDR XVDR Client: SendPing
16:35:25 T:140215918262016 INFO: AddOnLog: VDR XVDR Client: DemuxRead
16:35:28 T:140215918262016 DEBUG: CAddonCallbacksAddon - QueueNotification - VDR XVDR Client - Info Message : 'TV Signal restored'
16:35:28 T:140215918262016 INFO: AddOnLog: VDR XVDR Client: DemuxRead
16:35:28 T:140216490280896 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
16:35:28 T:140216490280896 DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
16:35:28 T:140215918262016 DEBUG: AddOnLog: VDR XVDR Client: DemuxReset
16:35:28 T:140215918262016 DEBUG: CDVDDemuxPVRClient::RequestStreams(): added stream 0:301 with codec_id 2
16:35:28 T:140215918262016 DEBUG: CDVDDemuxPVRClient::RequestStreams(): added stream 1:303 with codec_id 86016
16:35:28 T:140215918262016 INFO: AddOnLog: VDR XVDR Client: DemuxRead
16:35:28 T:140215918262016 DEBUG: CDVDDemuxPVRClient::UpdateStreams(): update stream 0:301 with codec_id 2
16:35:28 T:140215918262016 DEBUG: CDVDDemuxPVRClient::UpdateStreams(): update stream 1:303 with codec_id 86016
16:35:28 T:140215918262016 INFO: AddOnLog: VDR XVDR Client: DemuxRead
16:35:28 T:140215918262016 DEBUG: video stream stalled. start buffering
16:35:28 T:140215918262016 DEBUG: CDVDPlayer::SetCaching - caching state 2
16:35:28 T:140215918262016 WARNING: CDVDPlayer::CheckContinuity - resync forward :2, prev:78330664789.000000, curr:78412984789.000000, diff:82320000.000000
16:35:28 T:140215918262016 DEBUG: CDVDPlayer::HandleMessages - player started 2
16:35:28 T:140215918262016 DEBUG: CDVDPlayer::HandleMessages - player started 1
16:35:28 T:140216490280896 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
16:35:28 T:140216490280896 DEBUG: Alloc resources: 0.17ms (0.01 ms skin load)
16:35:30 T:140216168490752 DEBUG: Thread Jobworker 140216168490752 terminating (autodelete)
16:35:31 T:140216490280896 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
16:35:32 T:140216035424000 DEBUG: AddOnLog: VDR XVDR Client: SendPing

After the stream is restored one real data packet is read (StreamChange and Update not counted). After that DemuxRead isn't called anymore.