summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-03-20 10:22:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-03-20 10:22:22 +0100
commitd1dd7df17ab9c24867491c7cbaa148ad83ec216f (patch)
tree2229eb77c9738c6452300ba85ec00d650bd94525 /remux.h
parent22f70b02e28148b45f4e9e0f9a8f16d15adc859b (diff)
downloadvdr-d1dd7df17ab9c24867491c7cbaa148ad83ec216f.tar.gz
vdr-d1dd7df17ab9c24867491c7cbaa148ad83ec216f.tar.bz2
Fixed detecting frames on channels that broadcast with separate "fields" instead of complete frames
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/remux.h b/remux.h
index 7140aaf0..60a9a578 100644
--- a/remux.h
+++ b/remux.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.h 2.27 2010/11/01 11:24:20 kls Exp $
+ * $Id: remux.h 2.28 2011/03/19 16:52:46 kls Exp $
*/
#ifndef __REMUX_H
@@ -345,12 +345,15 @@ private:
bool independentFrame;
uint32_t ptsValues[MaxPtsValues]; // 32 bit is enough - we only need the delta
int numPtsValues;
+ int numFrames;
int numIFrames;
bool isVideo;
double framesPerSecond;
int framesInPayloadUnit;
int framesPerPayloadUnit; // Some broadcasters send one frame per payload unit (== 1),
- // while others put an entire GOP into one payload unit (> 1).
+ // some put an entire GOP into one payload unit (> 1), and
+ // some spread a single frame over several payload units (< 0).
+ int payloadUnitOfFrame;
bool scanning;
uint32_t scanner;
public: