Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-18 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2020-02-18 17:52:00) >> Anton Khirnov: >>> Quoting Andreas Rheinhardt (2020-02-18 16:01:00) Anton Khirnov: > Quoting Gyan Doshi (2020-02-01 06:15:30) >> >> >> On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: >>> Gyan Doshi:

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-18 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2020-02-18 17:52:00) > Anton Khirnov: > > Quoting Andreas Rheinhardt (2020-02-18 16:01:00) > >> Anton Khirnov: > >>> Quoting Gyan Doshi (2020-02-01 06:15:30) > > > On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: > > Gyan Doshi: > >> Allows select

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-18 Thread Gyan Doshi
On 18-02-2020 10:22 pm, Andreas Rheinhardt wrote: Anton Khirnov: Quoting Andreas Rheinhardt (2020-02-18 16:01:00) Anton Khirnov: Quoting Gyan Doshi (2020-02-01 06:15:30) On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: Gyan Doshi: Allows selecting demuxer by extension which are more wid

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-18 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2020-02-18 16:01:00) >> Anton Khirnov: >>> Quoting Gyan Doshi (2020-02-01 06:15:30) On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: > Gyan Doshi: >> Allows selecting demuxer by extension which are more widely recognized >> by

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-18 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2020-02-18 16:01:00) > Anton Khirnov: > > Quoting Gyan Doshi (2020-02-01 06:15:30) > >> > >> > >> On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: > >>> Gyan Doshi: > Allows selecting demuxer by extension which are more widely recognized > by users. > > >

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-18 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Gyan Doshi (2020-02-01 06:15:30) >> >> >> On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: >>> Gyan Doshi: Allows selecting demuxer by extension which are more widely recognized by users. Conditional cast added since this function will usually be called

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-18 Thread Anton Khirnov
Quoting Gyan Doshi (2020-02-01 06:15:30) > > > On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: > > Gyan Doshi: > >> Allows selecting demuxer by extension which are more widely recognized > >> by users. > >> > >> Conditional cast added since this function will usually be called after > >> av_fin

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-16 Thread Andreas Rheinhardt
Gyan Doshi: > > > On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: >> Gyan Doshi: >>> Allows selecting demuxer by extension which are more widely recognized >>> by users. >>> >>> Conditional cast added since this function will usually be called >>> after >>> av_find_input_format, and so matches

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-15 Thread Gyan Doshi
On 12-02-2020 11:12 pm, Gyan Doshi wrote: On 01-02-2020 10:45 am, Gyan Doshi wrote: On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: Gyan Doshi: Allows selecting demuxer by extension which are more widely recognized by users. Conditional cast added since this function will usually be c

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-02-12 Thread Gyan Doshi
On 01-02-2020 10:45 am, Gyan Doshi wrote: On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: Gyan Doshi: Allows selecting demuxer by extension which are more widely recognized by users. Conditional cast added since this function will usually be called after av_find_input_format, and so matc

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-01-31 Thread Gyan Doshi
On 31-01-2020 10:41 pm, Andreas Rheinhardt wrote: Gyan Doshi: Allows selecting demuxer by extension which are more widely recognized by users. Conditional cast added since this function will usually be called after av_find_input_format, and so matches its return type. That's not a good point

Re: [FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-01-31 Thread Andreas Rheinhardt
Gyan Doshi: > Allows selecting demuxer by extension which are more widely recognized > by users. > > Conditional cast added since this function will usually be called after > av_find_input_format, and so matches its return type. That's not a good point. av_demuxer_find_by_ext() already always ret

[FFmpeg-devel] [PATCH 1/6] avformat/format: add av_demuxer_find_by_ext

2020-01-31 Thread Gyan Doshi
Allows selecting demuxer by extension which are more widely recognized by users. Conditional cast added since this function will usually be called after av_find_input_format, and so matches its return type. --- libavformat/avformat.h | 5 + libavformat/format.c | 15 +++ libavf