summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-23 18:11:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-23 18:11:26 +0200
commit5442c6cce33d6c4e4f691d55adb0f0f668d9773d (patch)
treef8ff1a17dc57a37f58ef6ad5795473cb80462910 /libavformat/avformat.h
parent31cdf6002ae56094b2ed11851f2d877acd6cf44f (diff)
lavf: fix duration estimation for multi program TS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index ba2977144b..f993dbcff9 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -862,6 +862,16 @@ typedef struct AVProgram {
int program_num;
int pmt_pid;
int pcr_pid;
+
+ /*****************************************************************
+ * All fields below this line are not part of the public API. They
+ * may not be used outside of libavformat and can be changed and
+ * removed at will.
+ * New public fields should be added right above.
+ *****************************************************************
+ */
+ int64_t start_time;
+ int64_t end_time;
} AVProgram;
#define AVFMTCTX_NOHEADER 0x0001 /**< signal that no header is present