Skip to content

Commit cae95e4

Browse files
author
Clement Champetier
committed
InputFile: add documentation
1 parent 992c45e commit cae95e4

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/AvTranscoder/file/InputFile.hpp

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ class AvExport InputFile
6060
* @note Activate a stream results in buffered its data when processing
6161
**/
6262
void activateStream( const size_t streamIndex, const bool activate = true );
63-
64-
/**
65-
* @return Return the resource to access
66-
**/
67-
std::string getFilename() const { return _filename; }
6863

6964
/**
7065
* @brief Return media properties on the current InputFile.
@@ -80,8 +75,21 @@ class AvExport InputFile
8075
**/
8176
InputStream& getStream( size_t index );
8277

78+
std::string getFilename() const { return _filename; }
79+
80+
/**
81+
* @brief A comma separated list of short names for the format, or unknown.
82+
*/
8383
std::string getFormatName() const;
84+
85+
/**
86+
* @brief Descriptive name for the format, meant to be more human-readable than name, or unknown.
87+
*/
8488
std::string getFormatLongName() const;
89+
90+
/**
91+
* @brief Comma-separated list of mime types, or unknown.
92+
*/
8593
std::string getFormatMimeType() const;
8694

8795
FormatContext& getFormatContext() { return _formatContext; }

0 commit comments

Comments
 (0)