examples: rename muxing to mux

This commit is contained in:
Stefano Sabatini 2023-01-15 12:53:31 +01:00
parent 7a53ae931d
commit eac4324bfb
5 changed files with 6 additions and 6 deletions

4
configure vendored
View file

@ -1723,7 +1723,7 @@ EXAMPLE_LIST="
extract_mvs_example extract_mvs_example
filter_audio_example filter_audio_example
hw_decode_example hw_decode_example
muxing_example mux_example
qsvdec_example qsvdec_example
remuxing_example remuxing_example
resampling_audio_example resampling_audio_example
@ -3787,7 +3787,7 @@ encode_video_example_deps="avcodec avutil"
extract_mvs_example_deps="avcodec avformat avutil" extract_mvs_example_deps="avcodec avformat avutil"
filter_audio_example_deps="avfilter avutil" filter_audio_example_deps="avfilter avutil"
hw_decode_example_deps="avcodec avformat avutil" hw_decode_example_deps="avcodec avformat avutil"
muxing_example_deps="avcodec avformat avutil swscale" mux_example_deps="avcodec avformat avutil swscale"
qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder" qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder"
remuxing_example_deps="avcodec avformat avutil" remuxing_example_deps="avcodec avformat avutil"
resampling_audio_example_deps="avutil swresample" resampling_audio_example_deps="avutil swresample"

View file

@ -11,7 +11,7 @@ EXAMPLES-$(CONFIG_ENCODE_VIDEO_EXAMPLE) += encode_video
EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE) += extract_mvs EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE) += extract_mvs
EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE) += filter_audio EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE) += filter_audio
EXAMPLES-$(CONFIG_HW_DECODE_EXAMPLE) += hw_decode EXAMPLES-$(CONFIG_HW_DECODE_EXAMPLE) += hw_decode
EXAMPLES-$(CONFIG_MUXING_EXAMPLE) += muxing EXAMPLES-$(CONFIG_MUX_EXAMPLE) += mux
EXAMPLES-$(CONFIG_QSVDEC_EXAMPLE) += qsvdec EXAMPLES-$(CONFIG_QSVDEC_EXAMPLE) += qsvdec
EXAMPLES-$(CONFIG_REMUXING_EXAMPLE) += remuxing EXAMPLES-$(CONFIG_REMUXING_EXAMPLE) += remuxing
EXAMPLES-$(CONFIG_RESAMPLING_AUDIO_EXAMPLE) += resampling_audio EXAMPLES-$(CONFIG_RESAMPLING_AUDIO_EXAMPLE) += resampling_audio

View file

@ -24,7 +24,7 @@ EXAMPLES=\
encode_video \ encode_video \
extract_mvs \ extract_mvs \
hw_decode \ hw_decode \
muxing \ mux \
remuxing \ remuxing \
resampling_audio \ resampling_audio \
scaling_video \ scaling_video \

View file

@ -202,7 +202,7 @@ int main(int argc, char **argv)
It makes only sense because this tiny examples writes packets It makes only sense because this tiny examples writes packets
directly. This is called "elementary stream" and only works for some directly. This is called "elementary stream" and only works for some
codecs. To create a valid file, you usually need to write packets codecs. To create a valid file, you usually need to write packets
into a proper file format or protocol; see muxing.c. into a proper file format or protocol; see mux.c.
*/ */
if (codec->id == AV_CODEC_ID_MPEG1VIDEO || codec->id == AV_CODEC_ID_MPEG2VIDEO) if (codec->id == AV_CODEC_ID_MPEG1VIDEO || codec->id == AV_CODEC_ID_MPEG2VIDEO)
fwrite(endcode, 1, sizeof(endcode), f); fwrite(endcode, 1, sizeof(endcode), f);

View file

@ -26,7 +26,7 @@
* *
* Output a media file in any supported libavformat format. The default * Output a media file in any supported libavformat format. The default
* codecs are used. * codecs are used.
* @example muxing.c * @example mux.c
*/ */
#include <stdlib.h> #include <stdlib.h>