[FFmpeg-trac] #4706(documentation:open): av_guess_codec ignores short_name, filename, and mime_type
FFmpeg
trac at avcodec.org
Thu Jul 9 11:27:52 CEST 2015
#4706: av_guess_codec ignores short_name, filename, and mime_type
-------------------------------------+-------------------------------------
Reporter: andrewrk | Owner:
Type: defect | Status: open
Priority: minor | Component:
Version: git-master | documentation
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Replying to [comment:4 andrewrk]:
> > My original interpretation of this ticket was that you argued that the
short_name
> > parameter of av_guess_codec() should have precedence over the fmt
parameter. Was I
> > correct?
>
> No. The title of the ticket is correct as well as my clarified code
example.
In your second example you pass an AVOutputFormat pointer as fmt parameter
to av_guess_codec() that was already initialized with codec libvorbis (the
default codec for ogg files if libvorbis was enabled). Why should this
codec be overwritten if this is neither the documented behaviour of
av_guess_codec() nor the behaviour since this function exists?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4706#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list