[FFmpeg-devel] [PATCH 06/15] examples: rename metadata to show_metadata

Stefano Sabatini stefasab at gmail.com
Sun Jan 15 18:10:26 EET 2023


---
 configure                                    | 4 ++--
 doc/examples/Makefile                        | 2 +-
 doc/examples/Makefile.example                | 2 +-
 doc/examples/{metadata.c => show_metadata.c} | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
 rename doc/examples/{metadata.c => show_metadata.c} (98%)

diff --git a/configure b/configure
index 8c2bb6fab5..419bd03221 100755
--- a/configure
+++ b/configure
@@ -1723,12 +1723,12 @@ EXAMPLE_LIST="
     extract_mvs_example
     filter_audio_example
     hw_decode_example
-    metadata_example
     muxing_example
     qsvdec_example
     remuxing_example
     resampling_audio_example
     scaling_video_example
+    show_metadata_example
     transcode_aac_example
     transcoding_example
     vaapi_encode_example
@@ -3780,12 +3780,12 @@ encode_video_example_deps="avcodec avutil"
 extract_mvs_example_deps="avcodec avformat avutil"
 filter_audio_example_deps="avfilter avutil"
 hw_decode_example_deps="avcodec avformat avutil"
-metadata_example_deps="avformat avutil"
 muxing_example_deps="avcodec avformat avutil swscale"
 qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder"
 remuxing_example_deps="avcodec avformat avutil"
 resampling_audio_example_deps="avutil swresample"
 scaling_video_example_deps="avutil swscale"
+show_metadata_example_deps="avformat avutil"
 transcode_aac_example_deps="avcodec avformat swresample"
 transcoding_example_deps="avfilter avcodec avformat avutil"
 vaapi_encode_example_deps="avcodec avutil h264_vaapi_encoder"
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index f640a5e636..44a56dd84d 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -11,12 +11,12 @@ EXAMPLES-$(CONFIG_ENCODE_VIDEO_EXAMPLE)      += encode_video
 EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE)       += extract_mvs
 EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE)      += filter_audio
 EXAMPLES-$(CONFIG_HW_DECODE_EXAMPLE)         += hw_decode
-EXAMPLES-$(CONFIG_METADATA_EXAMPLE)          += metadata
 EXAMPLES-$(CONFIG_MUXING_EXAMPLE)            += muxing
 EXAMPLES-$(CONFIG_QSVDEC_EXAMPLE)            += qsvdec
 EXAMPLES-$(CONFIG_REMUXING_EXAMPLE)          += remuxing
 EXAMPLES-$(CONFIG_RESAMPLING_AUDIO_EXAMPLE)  += resampling_audio
 EXAMPLES-$(CONFIG_SCALING_VIDEO_EXAMPLE)     += scaling_video
+EXAMPLES-$(CONFIG_SHOW_METADATA_EXAMPLE)     += show_metadata
 EXAMPLES-$(CONFIG_TRANSCODE_AAC_EXAMPLE)     += transcode_aac
 EXAMPLES-$(CONFIG_TRANSCODING_EXAMPLE)       += transcoding
 EXAMPLES-$(CONFIG_VAAPI_ENCODE_EXAMPLE)      += vaapi_encode
diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example
index 9e725715a5..db09ceddd1 100644
--- a/doc/examples/Makefile.example
+++ b/doc/examples/Makefile.example
@@ -24,11 +24,11 @@ EXAMPLES=\
                 encode_video                       \
                 extract_mvs                        \
                 hw_decode                          \
-                metadata                           \
                 muxing                             \
                 remuxing                           \
                 resampling_audio                   \
                 scaling_video                      \
+                show_metadata                      \
                 transcode_aac                      \
                 transcoding                        \
 
diff --git a/doc/examples/metadata.c b/doc/examples/show_metadata.c
similarity index 98%
rename from doc/examples/metadata.c
rename to doc/examples/show_metadata.c
index 734b12df16..f7f07bf598 100644
--- a/doc/examples/metadata.c
+++ b/doc/examples/show_metadata.c
@@ -23,7 +23,7 @@
 /**
  * @file
  * Shows how the metadata API can be used in application programs.
- * @example metadata.c
+ * @example show_metadata.c
  */
 
 #include <stdio.h>
-- 
2.25.1



More information about the ffmpeg-devel mailing list