Go to the source code of this file.
|
static int | failing_write_header (AVFormatContext *avf) |
|
static int | failing_write_packet (AVFormatContext *avf, AVPacket *pkt) |
|
static int | failing_write_trailer (AVFormatContext *avf) |
|
static void | failing_deinit (AVFormatContext *avf) |
|
static int | prepare_packet (AVPacket *pkt, const FailingMuxerPacketData *pkt_data, int64_t pts) |
|
static int | initialize_fifo_tst_muxer_chain (AVFormatContext **oc) |
|
static int | fifo_basic_test (AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *pkt_data) |
|
static int | fifo_write_header_err_tst (AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *pkt_data) |
|
static int | fifo_overflow_drop_test (AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *data) |
|
static int | run_test (const TestCase *test) |
|
int | main (int argc, char *argv[]) |
|
#define MAX_TST_PACKETS 128 |
#define SLEEPTIME_50_MS 50000 |
#define SLEEPTIME_10_MS 10000 |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Initial value:= {
{
"write_header_ret",
"write_header() return value",
OFFSET(write_header_ret),
{
"write_trailer_ret",
"write_trailer() return value",
OFFSET(write_trailer_ret),
{
"print_deinit_summary",
"print summary when deinitializing muxer",
OFFSET(print_deinit_summary),
}
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
Definition at line 121 of file fifo_muxer.c.
Initial value:= {
.class_name = "Failing test muxer",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 131 of file fifo_muxer.c.
Initial value:= {
.name = "fail",
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
static int failing_write_trailer(AVFormatContext *avf)
static const AVClass failing_muxer_class
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int write_trailer(AVFormatContext *s1)
static int failing_write_packet(AVFormatContext *avf, AVPacket *pkt)
static void write_header(FFV1Context *f)
static int failing_write_header(AVFormatContext *avf)
static void failing_deinit(AVFormatContext *avf)
Definition at line 138 of file fifo_muxer.c.
Initial value:= {
{
fifo_basic_test,
"recovery test",
"attempt_recovery=1:recovery_wait_time=0",
0, 0, 0, {
AVERROR(ETIMEDOUT), 3, 0}},
}
static int fifo_write_header_err_tst(AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *pkt_data)
static int fifo_basic_test(AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *pkt_data)
static int fifo_overflow_drop_test(AVFormatContext *oc, AVDictionary **opts, const FailingMuxerPacketData *data)
Definition at line 401 of file fifo_muxer.c.
Referenced by checkasm_check_h264pred(), and main().