From 4874e0674653d8a90054ea86a4df9cc517b686c5 Mon Sep 17 00:00:00 2001 From: "H.G. Giorgis" Date: Sat, 5 Sep 2015 13:59:18 -0400 Subject: [PATCH] Fixed some of the style issues from golint --- avcodec/avcodec.go | 4 ++-- avdevice/avdevice.go | 2 +- avfilter/avfilter.go | 3 ++- avformat/avformat.go | 2 +- avutil/avutil.go | 2 +- goav.go | 7 ++++--- swresample/swresample.go | 2 +- swscale/swscale.go | 2 +- 8 files changed, 13 insertions(+), 11 deletions(-) diff --git a/avcodec/avcodec.go b/avcodec/avcodec.go index 4ea9597..65024a6 100644 --- a/avcodec/avcodec.go +++ b/avcodec/avcodec.go @@ -1,8 +1,8 @@ // Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (habtom@giorgis.io) -//The codecs (decoders and encoders) provided by the libavcodec library -//libavcodec provides some generic global options, which can be set on all the encoders and decoders. +//Package avcodec contains the codecs (decoders and encoders) provided by the libavcodec library +//Provides some generic global options, which can be set on all the encoders and decoders. package avcodec //#cgo pkg-config: libavformat libavcodec libavutil libswresample diff --git a/avdevice/avdevice.go b/avdevice/avdevice.go index dffb95d..a5bc102 100644 --- a/avdevice/avdevice.go +++ b/avdevice/avdevice.go @@ -1,7 +1,7 @@ // Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (habtom@giorgis.io) -// The input and output devices provided by the libavdevice library +// Package avdevice deals with the input and output devices provided by the libavdevice library // The libavdevice library provides the same interface as libavformat. // Namely, an input device is considered like a demuxer, and an output device like a muxer, // and the interface and generic device options are the same provided by libavformat diff --git a/avfilter/avfilter.go b/avfilter/avfilter.go index ee7d7cc..2f4da71 100644 --- a/avfilter/avfilter.go +++ b/avfilter/avfilter.go @@ -1,7 +1,8 @@ // Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (habtom@giorgis.io) -//Filters in the same linear chain are separated by commas, and distinct linear chains of filters are separated by semicolons. +//Package avfilter contains methods that deal with ffmpeg filters +//filters in the same linear chain are separated by commas, and distinct linear chains of filters are separated by semicolons. //FFmpeg is enabled through the "C" libavfilter library package avfilter diff --git a/avformat/avformat.go b/avformat/avformat.go index 958520f..28dc316 100644 --- a/avformat/avformat.go +++ b/avformat/avformat.go @@ -1,7 +1,7 @@ // Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (habtom@giorgis.io) -//The libavformat library provides some generic global options, which can be set on all the muxers and demuxers. +//Package avformat provides some generic global options, which can be set on all the muxers and demuxers. //In addition each muxer or demuxer may support so-called private options, which are specific for that component. //Supported formats (muxers and demuxers) provided by the libavformat library package avformat diff --git a/avutil/avutil.go b/avutil/avutil.go index 43fc140..ca08a92 100644 --- a/avutil/avutil.go +++ b/avutil/avutil.go @@ -1,7 +1,7 @@ // Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (habtom@giorgis.io) -// The libavutil library is a utility library to aid portable multimedia programming. +// Package avutil is a utility library to aid portable multimedia programming. // It contains safe portable string functions, random number generators, data structures, // additional mathematics functions, cryptography and multimedia related functionality. // Some generic features and utilities provided by the libavutil library diff --git a/goav.go b/goav.go index 80dc8c5..731d9f5 100644 --- a/goav.go +++ b/goav.go @@ -2,11 +2,12 @@ //Giorgis (habtom@giorgis.io) /* - Golang binding for FFmpeg: A comprehensive binding to the ffmpeg video/audio manipulation library. +Package goav contains golang binding for FFmpeg. - https://www.ffmpeg.org/ +A comprehensive binding to the ffmpeg video/audio manipulation library: +https://www.ffmpeg.org/ - Contains: +Contains: libavcodec: encoding/decoding library libavfilter: graph-based frame editing library diff --git a/swresample/swresample.go b/swresample/swresample.go index 17cdf4f..caaca30 100644 --- a/swresample/swresample.go +++ b/swresample/swresample.go @@ -1,8 +1,8 @@ // Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (habtom@giorgis.io) +// Package swresample provides a high-level interface to the libswresample library audio resampling utilities // The process of changing the sampling rate of a discrete signal to obtain a new discrete representation of the underlying continuous signal. -// resampler provides a high-level interface to the libswresample library audio resampling utilities package swresample /* diff --git a/swscale/swscale.go b/swscale/swscale.go index 761298c..eb1a2ae 100644 --- a/swscale/swscale.go +++ b/swscale/swscale.go @@ -1,7 +1,7 @@ // Use of this source code is governed by a MIT license that can be found in the LICENSE file. // Giorgis (habtom@giorgis.io) -//libswscale library performs highly optimized image scaling and colorspace and pixel format conversion operations. +//Package swscale performs highly optimized image scaling and colorspace and pixel format conversion operations. //Rescaling: is the process of changing the video size. Several rescaling options and algorithms are available. //Pixel format conversion: is the process of converting the image format and colorspace of the image. package swscale