#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
} |
| |
| Enumerator |
|---|
| NoError |
|
| NetworkError |
|
| OpenTimedout |
|
| OpenError |
|
| ParseStreamTimedOut |
|
| FindStreamInfoTimedout |
|
| ParseStreamError |
|
| FindStreamInfoError |
|
| StreamNotFound |
|
| ReadTimedout |
|
| ReadError |
|
| SeekError |
|
| ResourceError |
|
| OpenCodecError |
|
| CloseCodecError |
|
| AudioCodecNotFound |
|
| VideoCodecNotFound |
|
| SubtitleCodecNotFound |
|
| CodecError |
|
| FormatError |
|
| AccessDenied |
|
| UnknowError |
|
| QtAV::AVError::AVError |
( |
| ) |
|
| QtAV::AVError::AVError |
( |
ErrorCode |
code, |
|
|
int |
ffmpegError = 0 |
|
) |
| |
| 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. |
| QtAV::AVError::AVError |
( |
const AVError & |
other | ) |
|
| int QtAV::AVError::ffmpegErrorCode |
( |
| ) |
const |
| QString QtAV::AVError::ffmpegErrorString |
( |
| ) |
const |
| bool QtAV::AVError::operator!= |
( |
const AVError & |
other | ) |
const |
|
inline |
| bool QtAV::AVError::operator== |
( |
const AVError & |
other | ) |
const |
| QString QtAV::AVError::string |
( |
| ) |
const |
The documentation for this class was generated from the following file: