#1996: why avcodec_get_context_defaults3 does NOT set codec_id field
corresponding
to the gived codec?
-----------------------------------+---------------------------------------
Reporter: theateist | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+---------------------------------------
The documentation of "avcodec_get_context_defaults3" says:
Set the fields of the given AVCodecContext to default values corresponding
to the given codec.
But it doesn't set some fields, for example "codec_id", why?
{{{
auto encoder = avcodec_find_encoder(AV_CODEC_ID_H264);
avcodec_get_context_defaults3(outStream->codec, encoder);
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1996>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac