[patch] bad PMT on some channels

jlac
2009-05-19
2013-05-30
  • jlac

    jlac - 2009-05-19

    Hi,

    On some channels, a bad PMT is used and the screen stay black.
    so, the PMT is not reset when we switch channel, and sometime the old PMT is keeps.

    this patch correct the problems :

    diff -bBurN vdr-xineliboutput-org/device.c vdr-xineliboutput/device.c
    --- vdr-xineliboutput-org/device.c    2009-05-06 17:16:31.000000000 +0200
    +++ vdr-xineliboutput/device.c    2009-05-19 17:21:17.000000000 +0200
    @@ -580,6 +580,8 @@
       TRACEF("cXinelibDevice::SetTvMode");
       TRACK_TIME(250);

    +  m_PatPmtParser.Reset();
    +
       m_RadioStream = false;
       if (Channel && !Channel->Vpid() && (Channel->Apid(0) || Channel->Apid(1)))
         m_RadioStream = true;

    Regards,

    JLac

     
    • Petri Hintukainen

      Thanks, applied to CVS.

       

Log in to post a comment.