[FFmpeg-devel] [PATCH 3/3] lavfi: fix doxygen doc for AVFilterLink.time_base

Mina Nagy Zaki mnzaki at gmail.com
Thu Aug 4 14:47:02 CEST 2011


time_base is only applicable to video as the timebase for audio
is defined as 1/sample_rate
---
 libavfilter/avfilter.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 9e7a4cd..bf2d2b5 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -646,11 +646,12 @@ struct AVFilterLink {
     AVFilterBufferRef *out_buf;
 
     /**
-     * Define the time base used by the PTS of the frames/samples
-     * which will pass through this link.
+     * Define the time base used by the PTS of the frames which
+     * will pass through this link.
      * During the configuration stage, each filter is supposed to
      * change only the output timebase, while the timebase of the
      * input link is assumed to be an unchangeable property.
+     * This is applicable only to video links.
      */
     AVRational time_base;
 
-- 
1.7.4.4



More information about the ffmpeg-devel mailing list