#include <AVError.h>
|
enum | ErrorCode {
NoError,
NetworkError,
OpenTimedout,
OpenError,
ParseStreamTimedOut,
FindStreamInfoTimedout = ParseStreamTimedOut,
ParseStreamError,
FindStreamInfoError = ParseStreamError,
StreamNotFound,
ReadTimedout,
ReadError,
SeekError,
ResourceError,
OpenCodecError,
CloseCodecError,
AudioCodecNotFound,
VideoCodecNotFound,
SubtitleCodecNotFound,
CodecError,
FormatError,
AccessDenied,
UnknowError
} |
|
◆ ErrorCode
Enumerator |
---|
NoError | |
NetworkError | |
OpenTimedout | |
OpenError | |
ParseStreamTimedOut | |
FindStreamInfoTimedout | |
ParseStreamError | |
FindStreamInfoError | |
StreamNotFound | |
ReadTimedout | |
ReadError | |
SeekError | |
ResourceError | |
OpenCodecError | |
CloseCodecError | |
AudioCodecNotFound | |
VideoCodecNotFound | |
SubtitleCodecNotFound | |
CodecError | |
FormatError | |
AccessDenied | |
UnknowError | |
◆ AVError() [1/4]
QtAV::AVError::AVError |
( |
| ) |
|
◆ AVError() [2/4]
QtAV::AVError::AVError |
( |
ErrorCode |
code, |
|
|
int |
ffmpegError = 0 |
|
) |
| |
◆ AVError() [3/4]
QtAV::AVError::AVError |
( |
ErrorCode |
code, |
|
|
const QString & |
detail, |
|
|
int |
ffmpegError = 0 |
|
) |
| |
AVError string() will be detail.
If ffmpeg error not 0, also contains ffmpegErrorString()
- Parameters
-
code | ErrorCode value |
detail | ErrorCode string will be overrided by detail. |
ffmpegError | ffmpeg error code. If not 0, string() will contains ffmpeg error string. |
◆ AVError() [4/4]
QtAV::AVError::AVError |
( |
const AVError & |
other | ) |
|
◆ error()
◆ ffmpegErrorCode()
int QtAV::AVError::ffmpegErrorCode |
( |
| ) |
const |
◆ ffmpegErrorString()
QString QtAV::AVError::ffmpegErrorString |
( |
| ) |
const |
◆ operator!=()
bool QtAV::AVError::operator!= |
( |
const AVError & |
other | ) |
const |
|
inline |
◆ operator=()
◆ operator==()
bool QtAV::AVError::operator== |
( |
const AVError & |
other | ) |
const |
◆ setError()
◆ string()
QString QtAV::AVError::string |
( |
| ) |
const |
The documentation for this class was generated from the following file: