Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Stefano Sabatini <stefasab@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Stefano Sabatini <stefasab@gmail.com>
Subject: [FFmpeg-devel] [PATCH 05/15] examples: rename http_multiclient to avio_http_serve_files
Date: Sun, 15 Jan 2023 17:10:25 +0100
Message-ID: <20230115161035.584474-6-stefasab@gmail.com> (raw)
In-Reply-To: <20230115161035.584474-1-stefasab@gmail.com>

---
 configure                                                    | 4 ++--
 doc/examples/Makefile                                        | 2 +-
 doc/examples/Makefile.example                                | 5 +++--
 doc/examples/{http_multiclient.c => avio_http_serve_files.c} | 2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)
 rename doc/examples/{http_multiclient.c => avio_http_serve_files.c} (99%)

diff --git a/configure b/configure
index a79bc785f3..8c2bb6fab5 100755
--- a/configure
+++ b/configure
@@ -1710,6 +1710,7 @@ COMPONENT_LIST="
 "
 
 EXAMPLE_LIST="
+    avio_http_serve_files_example
     avio_list_dir_example
     avio_read_callback_example
     decode_audio_example
@@ -1721,7 +1722,6 @@ EXAMPLE_LIST="
     encode_video_example
     extract_mvs_example
     filter_audio_example
-    http_multiclient_example
     hw_decode_example
     metadata_example
     muxing_example
@@ -3767,6 +3767,7 @@ yadif_cuda_filter_deps_any="cuda_nvcc cuda_llvm"
 yadif_videotoolbox_filter_deps="metal corevideo videotoolbox"
 
 # examples
+avio_http_serve_files_deps="avformat avutil fork"
 avio_list_dir_deps="avformat avutil"
 avio_read_callback_deps="avformat avcodec avutil"
 decode_audio_example_deps="avcodec avutil"
@@ -3778,7 +3779,6 @@ encode_audio_example_deps="avcodec avutil"
 encode_video_example_deps="avcodec avutil"
 extract_mvs_example_deps="avcodec avformat avutil"
 filter_audio_example_deps="avfilter avutil"
-http_multiclient_example_deps="avformat avutil fork"
 hw_decode_example_deps="avcodec avformat avutil"
 metadata_example_deps="avformat avutil"
 muxing_example_deps="avcodec avformat avutil swscale"
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index ba3a3b712a..f640a5e636 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -1,3 +1,4 @@
+EXAMPLES-$(CONFIG_AVIO_HTTP_SERVE_FILES)     += avio_http_serve_files
 EXAMPLES-$(CONFIG_AVIO_LIST_DIR_EXAMPLE)     += avio_list_dir
 EXAMPLES-$(CONFIG_AVIO_READ_CALLBACK_EXAMPLE) += avio_read_callback
 EXAMPLES-$(CONFIG_DECODE_AUDIO_EXAMPLE)      += decode_audio
@@ -9,7 +10,6 @@ EXAMPLES-$(CONFIG_ENCODE_AUDIO_EXAMPLE)      += encode_audio
 EXAMPLES-$(CONFIG_ENCODE_VIDEO_EXAMPLE)      += encode_video
 EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE)       += extract_mvs
 EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE)      += filter_audio
-EXAMPLES-$(CONFIG_HTTP_MULTICLIENT_EXAMPLE)  += http_multiclient
 EXAMPLES-$(CONFIG_HW_DECODE_EXAMPLE)         += hw_decode
 EXAMPLES-$(CONFIG_METADATA_EXAMPLE)          += metadata
 EXAMPLES-$(CONFIG_MUXING_EXAMPLE)            += muxing
diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example
index 3383bb61fe..9e725715a5 100644
--- a/doc/examples/Makefile.example
+++ b/doc/examples/Makefile.example
@@ -11,7 +11,9 @@ CFLAGS += -Wall -g
 CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
 LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
 
-EXAMPLES=       avio_list_dir                      \
+EXAMPLES=\
+                avio_http_serve_files              \
+                avio_list_dir                      \
                 avio_read_callback                 \
                 decode_audio                       \
                 decode_filter_audio                \
@@ -21,7 +23,6 @@ EXAMPLES=       avio_list_dir                      \
                 encode_audio                       \
                 encode_video                       \
                 extract_mvs                        \
-                http_multiclient                   \
                 hw_decode                          \
                 metadata                           \
                 muxing                             \
diff --git a/doc/examples/http_multiclient.c b/doc/examples/avio_http_serve_files.c
similarity index 99%
rename from doc/examples/http_multiclient.c
rename to doc/examples/avio_http_serve_files.c
index 831e89c60a..d6a1d146f3 100644
--- a/doc/examples/http_multiclient.c
+++ b/doc/examples/avio_http_serve_files.c
@@ -24,7 +24,7 @@
  * @file
  * libavformat multi-client network API usage example.
  *
- * @example http_multiclient.c
+ * @example avio_http_serve_files.c
  * This example will serve a file without decoding or demuxing it over http.
  * Multiple clients can connect and will receive the same file.
  */
-- 
2.25.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  parent reply	other threads:[~2023-01-15 16:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 16:10 [FFmpeg-devel] Rename examples, apply consistency fixes Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 01/15] examples: rename avio_reading to avio_read_callback Stefano Sabatini
2023-01-25  0:28   ` Stefano Sabatini
2023-02-11 17:12     ` Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 02/15] examples: rename demuxing_decoding to demux_decode Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 03/15] examples: rename filtering_audio to decode_filter_audio Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 04/15] examples: rename filtering_video to decode_filter_video Stefano Sabatini
2023-01-15 16:10 ` Stefano Sabatini [this message]
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 06/15] examples: rename metadata to show_metadata Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 07/15] examples: rename muxing to mux Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 08/15] examples: rename qsvdec to qsv_decode Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 09/15] examples: rename remuxing to remux Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 10/15] examples: rename resampling audio to resample_audio Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 11/15] examples: rename scaling_video to scale_video Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 12/15] examples: rename transcoding to transcode Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 13/15] examples: apply doxy entries consistency fixes Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 14/15] examples: apply consistency fixes to doxy entries Stefano Sabatini
2023-01-15 16:10 ` [FFmpeg-devel] [PATCH 15/15] examples/Makefile.example: add missing entries Stefano Sabatini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230115161035.584474-6-stefasab@gmail.com \
    --to=stefasab@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git