Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Still pictures with latest CVS driver




Unfortunately I still have no idea why VDR can't display still
pictures with recent CVS diver versions, although Ralph insists
that the I-frames they use _can_ be displayed (and he proved that
to me by sending me such a frame, so I have to accept that from
his point of view the driver's 'play_iframe()' function _is_
working).

Meanwhile I have adapted my 'play_iframe()' patch to make the
latest CVS driver usable with VDR. Here's the new patch, which
can be used with driver version 2001-11-17 (the latest as of today):

--- dvb.c       Sat Nov 17 18:11:22 2001
+++ dvb.c       Sat Nov 24 15:04:37 2001
@@ -4131,12 +4131,13 @@
        
         if (dvb->videostate.playState==VIDEO_STOPPED) {
                 AV_StartPlay(dvb, RP_VIDEO);
-                n=MIN_IFRAME/len+1;
         }
+        n=MIN_IFRAME/len+1;
         dvb_play(dvb, iframe_header, sizeof(iframe_header), 0, 1, 0);
-        for (i=0; i<n; i++) 
+        for (i=0; i<n; i++) {
                 dvb_play(dvb, buf, len, 0, 1, 1);
-        send_ipack_rest(&dvb->ipack[1]);
+                send_ipack_rest(&dvb->ipack[1]);
+        }
 }

Note that you only need this patch if you use VDR's editing facilities.

For those who are unable to access the CVS repository at linixtv.org, the
complete current CVS driver version (including this patch) is available at

  ftp://ftp.cadsoft.de/pub/people/kls/vdr/siemens_dvb-0.9-20011117.tgz

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index