[FFmpeg-devel] [PATCH 1/2] Add sample_aspect_ratio to AVFilterLink

Ronald S. Bultje rsbultje
Fri Feb 4 02:46:03 CET 2011


> - ? ?/* These two parameters apply only to video */
> + ? ?/* These parameters apply only to video */
> ? ? int w; ? ? ? ? ? ? ? ? ? ? ?///< agreed upon image width
> ? ? int h; ? ? ? ? ? ? ? ? ? ? ?///< agreed upon image height
> + ? ?AVRational sample_aspect_ratio; ///< agreed upon sample aspect ratio
> ? ? /* These two parameters apply only to audio */
> ? ? int64_t channel_layout; ? ? ///< channel layout of current buffer (see libavcore/audioconvert.h)
> ? ? int64_t sample_rate; ? ? ? ?///< samples per second

/**
 * @defgroup video_props Video properties
 * These parameters apply only to video
 * @{
 */
int w; ///< ...
int h; ///< ...
AVRational sar; ///< ...
/**
 * @}
 */

/**
 * @defgroup audio_props Audio properties
 * These parameters apply only to audio
 * @{
 */
int channels; ///< ...
int sample_rate; ///< ...
/**
 * @}
 */

This way it groups correctly in doxygen output also. You can also
remove some newlines if you care...

Ronald



More information about the ffmpeg-devel mailing list