[vdr] Fix for recording problem in VDR 1.7.20

Klaus Schmidinger Klaus.Schmidinger at tvdr.de
Sun Aug 21 22:28:40 CEST 2011


On 21.08.2011 22:20, André Weidemann wrote:
> Hi Klaus,
>
> On 19.08.2011 18:43, Klaus Schmidinger wrote:
>> 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;
>
> Would the log messages look like this without above patch?
>
> Aug 21 16:15:12 vdr vdr: [3138] frame type not in first packet of payload - buffering
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: too many bytes for frame type buffer (23312 > 940) - dropped 23124 bytes
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: encountered new payload while buffering - dropping some data!
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: too many bytes for frame type buffer (3948 > 940) - dropped 3572 bytes
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: too many bytes for frame type buffer (24816 > 940) - dropped 24440 bytes
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: encountered new payload while buffering - dropping some data!
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: too many bytes for frame type buffer (26696 > 940) - dropped 26508 bytes
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: encountered new payload while buffering - dropping some data!
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: too many bytes for frame type buffer (20492 > 940) - dropped 20116 bytes
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: encountered new payload while buffering - dropping some data!
> Aug 21 16:15:12 vdr vdr: [3138] ERROR: too many bytes for frame type buffer (20492 > 940) - dropped 20304 bytes

Those were the reports I got from users.

Klaus



More information about the vdr mailing list