]> git.sesse.net Git - casparcg/commitdiff
#405 Fixed typo.
authorHelge Norberg <helge.norberg@svt.se>
Mon, 4 Jan 2016 15:34:57 +0000 (16:34 +0100)
committerHelge Norberg <helge.norberg@svt.se>
Mon, 4 Jan 2016 15:40:54 +0000 (16:40 +0100)
modules/ffmpeg/consumer/ffmpeg_consumer.cpp
modules/ffmpeg/consumer/streaming_consumer.cpp
modules/ffmpeg/ffmpeg.cpp
modules/ffmpeg/producer/util/util.cpp

index 84c7aa15c71728852776c44d84340bfded338a4b..fb2045b6f5cd65f3334e648b53dfae171c96a1f1 100644 (file)
@@ -868,12 +868,12 @@ public:
 
 void describe_consumer(core::help_sink& sink, const core::help_repository& repo)
 {
-       sink.short_description(L"Can record a channel to a file supported by FFMpeg.");
+       sink.short_description(L"Can record a channel to a file supported by FFmpeg.");
        sink.syntax(L"FILE [filename:string] {-[ffmpeg_param1:string] [value1:string] {-[ffmpeg_param2:string] [value2:string] {...}}} {[separate_key:SEPARATE_KEY]}");
-       sink.para()->text(L"Can record a channel to a file supported by FFMpeg.");
+       sink.para()->text(L"Can record a channel to a file supported by FFmpeg.");
        sink.definitions()
                ->item(L"filename", L"The filename under the media folder including the extension (decides which kind of container format that will be used).")
-               ->item(L"ffmpeg_paramX", L"A parameter supported by FFMpeg. For example vcodec or acodec etc.")
+               ->item(L"ffmpeg_paramX", L"A parameter supported by FFmpeg. For example vcodec or acodec etc.")
                ->item(L"separate_key", L"If defined will create two files simultaneously -- One for fill and one for key (_A will be appended).")
                ;
        sink.para()->text(L"Examples:");
index 2ba5f03297c99a282128f472827201d1ec55a311..39904a05f9aad28b5c53bbbfe35102682e1216fe 100644 (file)
@@ -1273,12 +1273,12 @@ private:
 
 void describe_streaming_consumer(core::help_sink& sink, const core::help_repository& repo)
 {
-       sink.short_description(L"For streaming the contents of a channel using FFMpeg.");
+       sink.short_description(L"For streaming the contents of a channel using FFmpeg.");
        sink.syntax(L"STREAM [url:string] {-[ffmpeg_param1:string] [value1:string] {-[ffmpeg_param2:string] [value2:string] {...}}}");
-       sink.para()->text(L"For streaming the contents of a channel using FFMpeg");
+       sink.para()->text(L"For streaming the contents of a channel using FFmpeg");
        sink.definitions()
                ->item(L"url", L"The stream URL to create/stream to.")
-               ->item(L"ffmpeg_paramX", L"A parameter supported by FFMpeg. For example vcodec or acodec etc.");
+               ->item(L"ffmpeg_paramX", L"A parameter supported by FFmpeg. For example vcodec or acodec etc.");
        sink.para()->text(L"Examples:");
        sink.example(L">> ADD 1 STREAM udp://<client_ip_address>:9250 -format mpegts -vcodec libx264 -crf 25 -tune zerolatency -preset ultrafast");
 }
index d3796f2422c899be7e13014a123070d5b348d6d9..ca64f7baf9980cd4b6c255fda58f31a12f06e524 100644 (file)
@@ -293,7 +293,7 @@ void init(core::module_dependencies dependencies)
 
        auto info_repo = dependencies.media_info_repo;
        
-       dependencies.consumer_registry->register_consumer_factory(L"FFMpeg Consumer", create_consumer, describe_consumer);
+       dependencies.consumer_registry->register_consumer_factory(L"FFmpeg Consumer", create_consumer, describe_consumer);
        dependencies.consumer_registry->register_consumer_factory(L"Streaming Consumer",  create_streaming_consumer, describe_streaming_consumer);
        dependencies.consumer_registry->register_preconfigured_consumer_factory(L"file", create_preconfigured_consumer);
        dependencies.consumer_registry->register_preconfigured_consumer_factory(L"stream", create_preconfigured_streaming_consumer);
@@ -334,4 +334,4 @@ void uninit()
        av_lockmgr_register(nullptr);
 }
 
-}}
\ No newline at end of file
+}}
index b71e40a4adc9d0d75d273530537a0f647285b472..b6f2a8f0b17dc891cd65ba03cb6e2e96bf7c06cd 100644 (file)
@@ -676,7 +676,7 @@ core::audio_channel_layout get_audio_channel_layout(const AVCodecContext& codec_
                        return core::audio_channel_layout(num_channels, L"", L""); // Passthru without named channels as is.
        }
 
-       // What FFMpeg calls "channel layout" is only the "layout type" of a channel layout in
+       // What FFmpeg calls "channel layout" is only the "layout type" of a channel layout in
        // CasparCG where the channel layout supports different orders as well.
        // The user needs to provide additional mix-configs in casparcg.config to support more
        // than the most common (5.1, mono and stereo) types.
@@ -746,7 +746,7 @@ core::audio_channel_layout get_audio_channel_layout(const AVCodecContext& codec_
 std::int64_t create_channel_layout_bitmask(int num_channels)
 {
        if (num_channels > 63)
-               CASPAR_THROW_EXCEPTION(invalid_argument() << msg_info(L"FFMpeg cannot handle more than 63 audio channels"));
+               CASPAR_THROW_EXCEPTION(invalid_argument() << msg_info(L"FFmpeg cannot handle more than 63 audio channels"));
 
        const auto ALL_63_CHANNELS = 0x7FFFFFFFFFFFFFFFULL;