From 433426ff0734b257cdaedbd84bf4e522b2f6186f Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Fri, 18 Feb 2022 10:04:19 +0100 Subject: [PATCH] rename example --- README.md | 2 +- examples/client-read-h264-convert-to-jpeg/main.go | 2 +- .../h264decoder.go | 0 examples/{client-read-h264-decode => client-read-h264}/main.go | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename examples/{client-read-h264-decode => client-read-h264}/h264decoder.go (100%) rename examples/{client-read-h264-decode => client-read-h264}/main.go (97%) diff --git a/README.md b/README.md index a8bef9b7..429856e0 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Features: * [client-read-partial](examples/client-read-partial/main.go) * [client-read-options](examples/client-read-options/main.go) * [client-read-pause](examples/client-read-pause/main.go) -* [client-read-h264-decode](examples/client-read-h264-decode/main.go) +* [client-read-h264](examples/client-read-h264/main.go) * [client-read-h264-convert-to-jpeg](examples/client-read-h264-convert-to-jpeg/main.go) * [client-read-h264-save-to-disk](examples/client-read-h264-save-to-disk/main.go) * [client-read-aac](examples/client-read-aac/main.go) diff --git a/examples/client-read-h264-convert-to-jpeg/main.go b/examples/client-read-h264-convert-to-jpeg/main.go index e8d6468d..3eaccc1f 100644 --- a/examples/client-read-h264-convert-to-jpeg/main.go +++ b/examples/client-read-h264-convert-to-jpeg/main.go @@ -17,7 +17,7 @@ import ( // This example shows how to // 1. connect to a RTSP server and read all tracks on a path // 2. check whether there's a H264 track -// 3. decode H264 NALUs of that track into raw frames +// 3. convert H264 NALUs of that track into raw frames // 4. encode the frames into JPEG images and save them on disk // This example requires the ffmpeg libraries, that can be installed in this way: // apt install -y libavformat-dev libswscale-dev gcc pkg-config diff --git a/examples/client-read-h264-decode/h264decoder.go b/examples/client-read-h264/h264decoder.go similarity index 100% rename from examples/client-read-h264-decode/h264decoder.go rename to examples/client-read-h264/h264decoder.go diff --git a/examples/client-read-h264-decode/main.go b/examples/client-read-h264/main.go similarity index 97% rename from examples/client-read-h264-decode/main.go rename to examples/client-read-h264/main.go index de64a681..a2c6d085 100644 --- a/examples/client-read-h264-decode/main.go +++ b/examples/client-read-h264/main.go @@ -12,7 +12,7 @@ import ( // This example shows how to // 1. connect to a RTSP server and read all tracks on a path // 2. check whether there's an H264 track -// 3. decode H264 NALUs of that track into raw frames +// 3. convert H264 NALUs of that track into raw frames // This example requires the ffmpeg libraries, that can be installed in this way: // apt install -y libavformat-dev libswscale-dev gcc pkg-config