[FFmpeg-cvslog] fftools/ffprobe: Don't access AVProgram.(start|end)_time
Andreas Rheinhardt
git at videolan.org
Tue Sep 14 20:29:13 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Sep 9 17:49:43 2021 +0200| [6b08ed9f956408e9d5ef0339a51258cb2a648042] | committer: Andreas Rheinhardt
fftools/ffprobe: Don't access AVProgram.(start|end)_time
These are internal fields.
Reviewed-by: Tobias Rapp <t.rapp at noa-archive.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b08ed9f956408e9d5ef0339a51258cb2a648042
---
doc/ffprobe.xsd | 4 ----
fftools/ffprobe.c | 4 ----
2 files changed, 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)
More information about the ffmpeg-cvslog
mailing list