-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[streams] populate added stream with codec param
avformat_new_stream(AVFormatContext *s, const AVCodec *c) does not use its second parameter [1], so the codec type for the stream is not populated until avcodec_parameters_from_context() [2] is called. [1]: https://ffmpeg.org/doxygen/trunk/group__lavf__core.html#gadcb0fd3e507d9b58fe78f61f8ad39827 [2]: https://ffmpeg.org/doxygen/trunk/codec__par_8c_source.html#l00099 Co-authored-by: Jeremy Lainé <jeremy.laine@m4x.org>
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters