Re: [FFmpeg-devel] [PATCH 02/17] avdevice: deprecate av_*_device_next()

2020-05-29 Thread Nicolas George
Anton Khirnov (12020-05-28):
> These functions rely on deprecated libavformat APIs and apparently have
> zero users outside of cmdutils. Since the functionality they provide is
> apparently not useful to anyone, deprecate them without replacement.

Unacceptable and fallacious.

Libavdevice is a library, and as such its point is to provide a public
API. cmdutils is the part of FFmpeg where we factored the common used of
the public APIs: it is absolutely normal for an API to be used only
there.

Furthermore, since it is a library and a public API, it can be used by
other projects, including unpublished projects, closed-source projects,
etc.

I can work with you to update the implementation so that it does not use
deprecated lavf APIs if you point me where the issue was discussed. But
just removing these libavdevices API is not acceptable.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 02/17] avdevice: deprecate av_*_device_next()

2020-05-28 Thread Josh de Kock

On 28/05/2020 21:15, Anton Khirnov wrote:

These functions rely on deprecated libavformat APIs and apparently have
zero users outside of cmdutils. Since the functionality they provide is
apparently not useful to anyone, deprecate them without replacement.
---
  doc/APIchanges | 4 
  fftools/cmdutils.c | 2 +-
  fftools/cmdutils.h | 4 ++--
  libavdevice/avdevice.c | 4 
  libavdevice/avdevice.h | 6 ++
  5 files changed, 17 insertions(+), 3 deletions(-)

[...]


This is the last part of the iterate() API update. I was recently 
looking at this again, and I think this is the best way to solve it.


--
Josh
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".