#include <stdlib.h>
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavutil/avassert.h"
#include "avformat.h"
#include "url.h"
Go to the source code of this file.
◆ MAX_TST_PACKETS
#define MAX_TST_PACKETS 128 |
◆ SLEEPTIME_50_MS
#define SLEEPTIME_50_MS 50000 |
◆ SLEEPTIME_10_MS
#define SLEEPTIME_10_MS 10000 |
◆ OFFSET
◆ failing_write_header()
◆ failing_write_packet()
◆ failing_write_trailer()
◆ failing_deinit()
◆ options
Initial value:= {
{
"write_header_ret",
"write_header() return value",
OFFSET(write_header_ret),
{
"write_trailer_ret",
"write_trailer() return value",
OFFSET(write_trailer_ret),
AV_OPT_TYPE_INT, {.i64 = 0}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM},
{
"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 124 of file fifo_test.c.
◆ failing_muxer_class
Initial value:= {
.class_name = "Fifo test muxer",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 134 of file fifo_test.c.
◆ ff_fifo_test_muxer
Initial value:= {
.name = "fifo_test",
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
static const AVClass failing_muxer_class
static int failing_write_trailer(AVFormatContext *avf)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int failing_write_header(AVFormatContext *avf)
static int write_trailer(AVFormatContext *s1)
static int failing_write_packet(AVFormatContext *avf, AVPacket *pkt)
static void failing_deinit(AVFormatContext *avf)
static void write_header(FFV1Context *f)
Definition at line 141 of file fifo_test.c.