@@ -285,6 +285,8 @@ namespace openshot {
285285 // / @param channels The number of audio channels needed in this file
286286 // / @param channel_layout The 'layout' of audio channels (i.e. mono, stereo, surround, etc...)
287287 // / @param bit_rate The audio bit rate used during encoding
288+ // /
289+ // / \note This is an overloaded function.
288290 void SetAudioOptions (bool has_audio, std::string codec, int sample_rate, int channels, openshot::ChannelLayout channel_layout, int bit_rate);
289291
290292 // / @brief Set audio export options.
@@ -294,6 +296,8 @@ namespace openshot {
294296 // / @param codec The codec used to encode the audio for this file
295297 // / @param sample_rate The number of audio samples needed in this file
296298 // / @param bit_rate The audio bit rate used during encoding
299+ // /
300+ // / \note This is an overloaded function.
297301 void SetAudioOptions (std::string codec, int sample_rate, int bit_rate);
298302
299303 // / @brief Set the cache size
@@ -310,18 +314,23 @@ namespace openshot {
310314 // / @param interlaced Does this video need to be interlaced?
311315 // / @param top_field_first Which frame should be used as the top field?
312316 // / @param bit_rate The video bit rate used during encoding
317+ // /
318+ // / \note This is an overloaded function.
313319 void SetVideoOptions (bool has_video, std::string codec, openshot::Fraction fps, int width, int height, openshot::Fraction pixel_ratio, bool interlaced, bool top_field_first, int bit_rate);
314320
315321 // / @brief Set video export options.
316322 // /
317323 // / Enables the stream and configures non-interlaced video with a 1:1 pixel aspect ratio.
318324 // /
319325 // / @param codec The codec used to encode the images in this video
320- // / @param fps The number of frames per second
321326 // / @param width The width in pixels of this video
322327 // / @param height The height in pixels of this video
328+ // / @param fps The number of frames per second
323329 // / @param bit_rate The video bit rate used during encoding
324- void SetVideoOptions (std::string codec, openshot::Fraction fps, int width, int height, int bit_rate);
330+ // /
331+ // / \note This is an overloaded function.
332+ // / \warning Observe the argument order, which is consistent with the openshot::Timeline constructor, but differs from the other signature.
333+ void SetVideoOptions (std::string codec, int width, int height, openshot::Fraction fps, int bit_rate);
325334
326335 // / @brief Set custom options (some codecs accept additional params). This must be called after the
327336 // / PrepareStreams() method, otherwise the streams have not been initialized yet.
@@ -337,12 +346,16 @@ namespace openshot {
337346
338347 // / @brief Add a frame to the stack waiting to be encoded.
339348 // / @param frame The openshot::Frame object to write to this image
349+ // /
350+ // / \note This is an overloaded function.
340351 void WriteFrame (std::shared_ptr<openshot::Frame> frame);
341352
342353 // / @brief Write a block of frames from a reader
343354 // / @param reader A openshot::ReaderBase object which will provide frames to be written
344355 // / @param start The starting frame number of the reader
345356 // / @param length The number of frames to write
357+ // /
358+ // / \note This is an overloaded function.
346359 void WriteFrame (openshot::ReaderBase *reader, int64_t start, int64_t length);
347360
348361 // / @brief Write the file trailer (after all frames are written). This is called automatically
0 commit comments