diff mbox series

[FFmpeg-devel,v2] fftools/ffprobe: Don't access AVProgram.(start|end)_time

Message ID AM7PR03MB6660230DFDE6D00F445BE64A8FDA9@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 6b08ed9f956408e9d5ef0339a51258cb2a648042
Headers show
Series [FFmpeg-devel,v2] fftools/ffprobe: Don't access AVProgram.(start|end)_time
Related show

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 14, 2021, 1:05 p.m. UTC
These are internal fields.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
Thanks, Tobias. I guess this version is fine, isn't it?

 doc/ffprobe.xsd   | 4 ----
 fftools/ffprobe.c | 4 ----
 2 files changed, 8 deletions(-)

Comments

Tobias Rapp Sept. 14, 2021, 2:35 p.m. UTC | #1
On 14.09.2021 15:05, Andreas Rheinhardt wrote:
> These are internal fields.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
> Thanks, Tobias. I guess this version is fine, isn't it?
> 
>   doc/ffprobe.xsd   | 4 ----
>   fftools/ffprobe.c | 4 ----
>   2 files changed, 8 deletions(-)
> 

Changes in ffprobe.c and ffprobe.xsd do match now, so should be fine.

Regards,
Tobias
diff mbox series

Patch

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)