[vdr] Fix for recording problem in VDR 1.7.20

Klaus Schmidinger Klaus.Schmidinger at tvdr.de
Fri Aug 19 18:43:03 CEST 2011


There have been some reports about recording problems with VDR 1.7.20
on some HD channels.
This patch should fix this.

Klaus


--- remux.c     2011/08/15 09:50:14     2.58
+++ remux.c     2011/08/19 15:33:26
@@ -974,8 +974,10 @@
                                       payloadUnitOfFrame = (payloadUnitOfFrame + 1) % -framesPerPayloadUnit;
                                       if (payloadUnitOfFrame != 0 && independentFrame)
                                          payloadUnitOfFrame = 0;
-                                     if (payloadUnitOfFrame)
+                                     if (payloadUnitOfFrame) {
+                                        newPayload = false;
                                          newFrame = false;
+                                        }
                                       }
                                    if (framesPerPayloadUnit <= 1)
                                       scanning = false;



More information about the vdr mailing list