summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-05-11 20:47:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-05-11 20:47:31 +0200
commitcd3cda2654bbd4272096bbabb4953ce352de8358 (patch)
tree5b75d9336ab8467850be992ef6b5bc799ca7ba32 /remux.c
parentc98fdd91200fd31915f76248efaa26faa28ba57e (diff)
downloadvdr-cd3cda2654bbd4272096bbabb4953ce352de8358.tar.gz
vdr-cd3cda2654bbd4272096bbabb4953ce352de8358.tar.bz2
Fixed cTsPayload::AtPayloadStart() to ignore TS packets from other PIDs
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/remux.c b/remux.c
index 0bf41f36..c338698d 100644
--- a/remux.c
+++ b/remux.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.c 4.9 2020/06/22 12:15:52 kls Exp $
+ * $Id: remux.c 5.1 2021/05/11 20:47:31 kls Exp $
*/
#include "remux.h"
@@ -1292,7 +1292,7 @@ int cMpeg2Parser::Parse(const uchar *Data, int Length, int Pid)
tsPayload.Statistics();
break;
}
- if (tsPayload.AtPayloadStart() // stop at any new payload start to have the buffer refilled if necessary
+ if (tsPayload.AtPayloadStart() // stop at a new payload start to have the buffer refilled if necessary
|| tsPayload.Eof()) // or if we're out of data
break;
}
@@ -1445,7 +1445,7 @@ int cH264Parser::Parse(const uchar *Data, int Length, int Pid)
default: ;
}
}
- if (tsPayload.AtPayloadStart() // stop at any new payload start to have the buffer refilled if necessary
+ if (tsPayload.AtPayloadStart() // stop at a new payload start to have the buffer refilled if necessary
|| tsPayload.Eof()) // or if we're out of data
break;
}
@@ -1603,7 +1603,7 @@ int cH265Parser::Parse(const uchar *Data, int Length, int Pid)
break;
}
}
- if (tsPayload.AtPayloadStart() // stop at any new payload start to have the buffer refilled if necessary
+ if (tsPayload.AtPayloadStart() // stop at a new payload start to have the buffer refilled if necessary
|| tsPayload.Eof()) // or if we're out of data
break;
}