Revert "Fixes for slow channel switching"

This reverts commit 4bdf10f354d2572788662b0cebb3c42cb8dae9e9.

unfortunately. this does more harm than good.

with some pvr clients (pvr.iptvsimple, probably tvheadend + tvh recoedings too)
vdpau h264 decoding fails due to missing width/height information

===
19:59:55 T:139876741670656 WARNING: (VDPAU) no width/height available, can't init
19:59:55 T:139876741670656  NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
19:59:55 T:139876741670656  NOTICE:  (VDPAU) Close
===
This commit is contained in:
Stefan Saraev 2013-05-25 20:06:56 +03:00
parent 0ef1409cf8
commit bd502c42af

View File

@ -1,11 +0,0 @@
--- a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2013-03-28 00:07:58.432987577 +0100
+++ b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2013-03-28 00:08:29.226987558 +0100
@@ -440,7 +440,7 @@
if (streaminfo)
{
/* too speed up dvd switches, only analyse very short */
- if(m_pInput->IsStreamType(DVDSTREAM_TYPE_DVD))
+ if(m_pInput->IsStreamType(DVDSTREAM_TYPE_DVD) || m_pInput->IsStreamType(DVDSTREAM_TYPE_PVRMANAGER))
m_pFormatContext->max_analyze_duration = 500000;