summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-09 17:49:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-14 19:17:19 +0200
commit6b08ed9f956408e9d5ef0339a51258cb2a648042 (patch)
tree8f9e6bca1a3e1c6d08fd8c8d8604833e815866cc
parent5d5ab3b4e68109f216467866d193182eb8e41386 (diff)
fftools/ffprobe: Don't access AVProgram.(start|end)_time
These are internal fields. Reviewed-by: Tobias Rapp <t.rapp@noa-archive.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--doc/ffprobe.xsd4
-rw-r--r--fftools/ffprobe.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
index 79784b5146..b65e54dbef 100644
--- a/doc/ffprobe.xsd
+++ b/doc/ffprobe.xsd
@@ -269,10 +269,6 @@
<xsd:attribute name="program_id" type="xsd:int" use="required"/>
<xsd:attribute name="program_num" type="xsd:int" use="required"/>
<xsd:attribute name="nb_streams" type="xsd:int" use="required"/>
- <xsd:attribute name="start_time" type="xsd:float"/>
- <xsd:attribute name="start_pts" type="xsd:long"/>
- <xsd:attribute name="end_time" type="xsd:float"/>
- <xsd:attribute name="end_pts" type="xsd:long"/>
<xsd:attribute name="pmt_pid" type="xsd:int" use="required"/>
<xsd:attribute name="pcr_pid" type="xsd:int" use="required"/>
</xsd:complexType>
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index acfec09656..d8e968321e 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -2844,10 +2844,6 @@ static int show_program(WriterContext *w, InputFile *ifile, AVProgram *program)
print_int("nb_streams", program->nb_stream_indexes);
print_int("pmt_pid", program->pmt_pid);
print_int("pcr_pid", program->pcr_pid);
- print_ts("start_pts", program->start_time);
- print_time("start_time", program->start_time, &AV_TIME_BASE_Q);
- print_ts("end_pts", program->end_time);
- print_time("end_time", program->end_time, &AV_TIME_BASE_Q);
if (do_show_program_tags)
ret = show_tags(w, program->metadata, SECTION_ID_PROGRAM_TAGS);
if (ret < 0)