From e4c895dfafd3b478aaaa1ac396c49e5113ff251e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 26 Sep 2011 16:35:55 +0200 Subject: [PATCH] audioencoder: Improve set_frame_sample_{min,max} documentation --- gst-libs/gst/audio/gstaudioencoder.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst-libs/gst/audio/gstaudioencoder.c b/gst-libs/gst/audio/gstaudioencoder.c index 57f6460..c118438 100644 --- a/gst-libs/gst/audio/gstaudioencoder.c +++ b/gst-libs/gst/audio/gstaudioencoder.c @@ -1732,6 +1732,9 @@ gst_audio_encoder_get_audio_info (GstAudioEncoder * enc) * Sets number of samples (per channel) subclass needs to be handed, * at least or will be handed all available if 0. * + * If an exact number of samples is required, gst_audio_encoder_set_frame_samples_max() + * must be called with the same number. + * * Since: 0.10.36 */ void @@ -1766,6 +1769,9 @@ gst_audio_encoder_get_frame_samples_min (GstAudioEncoder * enc) * Sets number of samples (per channel) subclass needs to be handed, * at most or will be handed all available if 0. * + * If an exact number of samples is required, gst_audio_encoder_set_frame_samples_min() + * must be called with the same number. + * * Since: 0.10.36 */ void -- 2.7.4