Hello Ping Pong
Few days ago you've submitted this patch :
http://trac.xbmc.org/changeset/29711/branches/pvr-testing2
It solved some xbmc freeze problem.
Now with yesterday commits , the problem came back again. I think the guilty commit is here:
http://trac.xbmc.org/changeset/29745/branches/pvr-testing2
Now when i switch channels on xbmc side, sometime xbmc is completly frozen, and on vdr side it gives paylod pes problems:
VNSI: Welcome client 'XBMC Live stream receiver' with protocol version '1'
VNSI: Successfully found following device: 0xb5304090 (2) for receiving
VNSI: Creating new live Receiver
cLiveStreamer stream processor thread started (pid=16834, tid=5938)
VNSI: Successfully switched to channel 40 - LCI
VNSI: Started streaming of channel 40 - LCI
receiver on device 2 thread started (pid=16834, tid=5940)
ecmhandler 1 filter thread started (pid=16834, tid=5939)
TS buffer on device 2 thread started (pid=16834, tid=5941)
logger 1 filter thread started (pid=16834, tid=5942)
VNSI-Error: payload not PES ?
VNSI-Error: dropping broken PES packet
VNSI-Error: dropping broken PES packet
VNSI-Error: dropping broken PES packet
etc...
Display More
Then xbmc freeze.
xbmc log:
AddOnLog: pvrclient/VDR VNSI Client: changing to channel 110
15:02:30 T:2805918576 M:1193263104 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
15:02:30 T:2805918576 M:1196945408 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
15:02:30 T:2831096688 M:1196691456 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
15:02:31 T:2831096688 M:1195753472 INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 50.000000 fps
15:02:32 T:3018315648 M:1193893888 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
15:02:36 T:3018315648 M:1189736448 DEBUG: LIRC: Update - NEW at 62715:2b9715b700000201 00 REMOTE_STOP imon-lirc1.conf (REMOTE_STOP)
15:02:36 T:3018315648 M:1189736448 DEBUG: OnKey: 224 pressed, trying fullscreen info action Stop
15:02:36 T:3018315648 M:1189736448 NOTICE: CDVDPlayer::CloseFile()
15:02:59 T:2893261680 M:1190281216 DEBUG: Thread 2893261680 terminating (autodelete)
At least with the No Signal video, xbmc didn't froze. But that's a strange behavior, because I totally can switch to this channel from vdr directly, or if i force it 2 or 3 times on xbmc. But it nevers works on the first time.
Perhaps the zap takes too much time on my config for some channels, but how could i force xbmc/vdr to wait a little bit longer when zapping ?
I'm for now with xbmc pvr-testing 29768
<EDIT<: an interesting thing i've found up with one of the channel causing dropping broken PES packet. I couldn't tune to this channel , each time I've tryed it gives dropping brken PES packet error.
So I tryed to stream it directly on vlc with streamdev. Then vdr gave me this log:
Adding pid 34 (type 0xc1) RegDesc not found -> assume AC-3
Adding pid 53 (type 0xc0) RegDesc not found -> assume AC-3
Then I could tune to this channel from xbmc after this.
It seems vdr doesn't add the new pid on some channel while tuning from vnsi server.
</EDIT>
Cheers.