Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-27 Thread James Almer
On 1/27/2021 2:40 PM, Lynne wrote: Jan 27, 2021, 16:07 by jamr...@gmail.com: On 1/27/2021 6:16 AM, Anton Khirnov wrote: Quoting James Almer (2021-01-26 20:11:16) On 1/26/2021 1:17 PM, Anton Khirnov wrote: We could start by adding a field to AVPacket that would be set to a magic value by a

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-27 Thread Lynne
Jan 27, 2021, 16:07 by jamr...@gmail.com: > On 1/27/2021 6:16 AM, Anton Khirnov wrote: > >> Quoting James Almer (2021-01-26 20:11:16) >> >>> On 1/26/2021 1:17 PM, Anton Khirnov wrote: >>> We could start by adding a field to AVPacket that would be set to a magic value by av_packet_alloc()

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-27 Thread James Almer
On 1/27/2021 6:16 AM, Anton Khirnov wrote: Quoting James Almer (2021-01-26 20:11:16) On 1/26/2021 1:17 PM, Anton Khirnov wrote: We could start by adding a field to AVPacket that would be set to a magic value by av_packet_alloc(). Then have e.g. AVCodecContext/AVFormatContext warn when they see

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-27 Thread Anton Khirnov
Quoting James Almer (2021-01-26 20:11:16) > On 1/26/2021 1:17 PM, Anton Khirnov wrote: > > We could start by adding a field to AVPacket that would be set to a > > magic value by av_packet_alloc(). > > Then have e.g. AVCodecContext/AVFormatContext warn when they see a > > packet without this magic v

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-26 Thread James Almer
On 1/26/2021 1:17 PM, Anton Khirnov wrote: Quoting James Almer (2021-01-26 17:07:28) On 1/26/2021 1:02 PM, Anton Khirnov wrote: Quoting Lynne (2021-01-24 18:34:36) Some devs (JEEB) wanted reception timestamps and original, overflowed timestamps for MPEG-TS. I'd be willing to add a reception

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-26 Thread Anton Khirnov
Quoting James Almer (2021-01-26 17:07:28) > On 1/26/2021 1:02 PM, Anton Khirnov wrote: > > Quoting Lynne (2021-01-24 18:34:36) > > Some devs (JEEB) wanted reception timestamps and original, overflowed > timestamps for MPEG-TS. > I'd be willing to add a reception timestamp as lo

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-26 Thread James Almer
On 1/26/2021 1:02 PM, Anton Khirnov wrote: Quoting Lynne (2021-01-24 18:34:36) Some devs (JEEB) wanted reception timestamps and original, overflowed timestamps for MPEG-TS. I'd be willing to add a reception timestamp as long as we add an additional time_base field and make it independent of t

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-26 Thread Anton Khirnov
Quoting Lynne (2021-01-24 18:34:36) > >> > >> Some devs (JEEB) wanted reception timestamps and original, overflowed > >> timestamps for MPEG-TS. > >> I'd be willing to add a reception timestamp as long as we add an > >> additional time_base field > >> and make it independent of the packet's pts f

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-24 Thread Lynne
Jan 24, 2021, 17:05 by an...@khirnov.net: > Quoting Lynne (2021-01-23 20:10:46) > >> This is an RFC about the upcoming additions to the AVPacket structure >> (whose size is still part of the ABI, so we need to plan for any changes). >> >> The current RFC patch adds 3 fields: >>     - "void *opaque

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-24 Thread Anton Khirnov
Quoting Lynne (2021-01-23 20:10:46) > This is an RFC about the upcoming additions to the AVPacket structure > (whose size is still part of the ABI, so we need to plan for any changes). > > The current RFC patch adds 3 fields: >     - "void *opaque;" for the user to use as they wish, same as AVFram

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-23 Thread Lynne
Jan 23, 2021, 23:12 by c...@passwd.hu: > > > On Sat, 23 Jan 2021, Lynne wrote: > >> Jan 23, 2021, 21:42 by c...@passwd.hu: >> >>> >>> >>> On Sat, 23 Jan 2021, Lynne wrote: >>> Jan 23, 2021, 21:04 by c...@passwd.hu: > > > On Sat, 23 Jan 2021, Lynne wrote: > >> This is

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-23 Thread Marton Balint
On Sat, 23 Jan 2021, Lynne wrote: Jan 23, 2021, 21:42 by c...@passwd.hu: On Sat, 23 Jan 2021, Lynne wrote: Jan 23, 2021, 21:04 by c...@passwd.hu: On Sat, 23 Jan 2021, Lynne wrote: This is an RFC about the upcoming additions to the AVPacket structure (whose size is still part of the

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-23 Thread Lynne
Jan 23, 2021, 21:42 by c...@passwd.hu: > > > On Sat, 23 Jan 2021, Lynne wrote: > >> Jan 23, 2021, 21:04 by c...@passwd.hu: >> >>> >>> >>> On Sat, 23 Jan 2021, Lynne wrote: >>> This is an RFC about the upcoming additions to the AVPacket structure (whose size is still part of the ABI, so w

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-23 Thread Marton Balint
On Sat, 23 Jan 2021, Lynne wrote: Jan 23, 2021, 21:04 by c...@passwd.hu: On Sat, 23 Jan 2021, Lynne wrote: This is an RFC about the upcoming additions to the AVPacket structure (whose size is still part of the ABI, so we need to plan for any changes). The current RFC patch adds 3 fields

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-23 Thread Lynne
Jan 23, 2021, 21:04 by c...@passwd.hu: > > > On Sat, 23 Jan 2021, Lynne wrote: > >> This is an RFC about the upcoming additions to the AVPacket structure >> (whose size is still part of the ABI, so we need to plan for any changes). >> >> The current RFC patch adds 3 fields: >>     - "void *opaque;

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-23 Thread Marton Balint
On Sat, 23 Jan 2021, Lynne wrote: This is an RFC about the upcoming additions to the AVPacket structure (whose size is still part of the ABI, so we need to plan for any changes). The current RFC patch adds 3 fields:     - "void *opaque;" for the user to use as they wish, same as AVFrame.opaqu

Re: [FFmpeg-devel] [PATCH] avpacket: RFC for ABI bump additions

2021-01-23 Thread Gyan Doshi
On 24-01-2021 12:40 am, Lynne wrote: This is an RFC about the upcoming additions to the AVPacket structure (whose size is still part of the ABI, so we need to plan for any changes). The current RFC patch adds 3 fields:     - "void *opaque;" for the user to use as they wish, same as AVFrame.op