Go to the source code of this file.
|
static gboolean | nsvideo_bus_call (GstBus *bus, GstMessage *msg, nsvideo_content *video) |
|
static void | nsvideo_need_data_event (GstElement *playbin, guint size, nsvideo_content *video) |
|
static void | nsvideo_enough_data_event (GstElement *playbin, nsvideo_content *video) |
|
static void | nsvideo_source_event (GObject *object, GObject *orig, GParamSpec *pspec, nsvideo_content *video) |
|
static nserror | nsvideo_create (const content_handler *handler, lwc_string *imime_type, const http_parameter *params, llcache_handle *llcache, const char *fallback_charset, bool quirks, struct content **c) |
|
static bool | nsvideo_process_data (struct content *c, const char *data, unsigned int size) |
|
static bool | nsvideo_convert (struct content *c) |
|
static void | nsvideo_destroy (struct content *c) |
|
static bool | nsvideo_redraw (struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx) |
|
static nserror | nsvideo_clone (const struct content *old, struct content **newc) |
|
static content_type | nsvideo_type (void) |
|
static void * | nsvideo_get_internal (const struct content *c, void *context) |
|
| CONTENT_FACTORY_REGISTER_TYPES (nsvideo, nsvideo_types, nsvideo_content_handler) |
|
◆ nsvideo_content
◆ CONTENT_FACTORY_REGISTER_TYPES()
◆ nsvideo_bus_call()
static gboolean nsvideo_bus_call |
( |
GstBus * |
bus, |
|
|
GstMessage * |
msg, |
|
|
nsvideo_content * |
video |
|
) |
| |
|
static |
◆ nsvideo_clone()
◆ nsvideo_convert()
static bool nsvideo_convert |
( |
struct content * |
c | ) |
|
|
static |
◆ nsvideo_create()
- Todo:
- Create appsink & register with playbin
Definition at line 69 of file video.c.
References nsvideo_content::base, content__init(), content::fallback_charset, content::handler, llcache, llcache_handle_force_stream(), NSERROR_NOMEM, NSERROR_OK, nsvideo_bus_call(), nsvideo_source_event(), nsvideo_content::playbin, and content::quirks.
◆ nsvideo_destroy()
static void nsvideo_destroy |
( |
struct content * |
c | ) |
|
|
static |
◆ nsvideo_enough_data_event()
static void nsvideo_enough_data_event |
( |
GstElement * |
playbin, |
|
|
nsvideo_content * |
video |
|
) |
| |
|
static |
◆ nsvideo_get_internal()
static void * nsvideo_get_internal |
( |
const struct content * |
c, |
|
|
void * |
context |
|
) |
| |
|
static |
- Todo:
- Return pointer to bitmap containing current frame, if any?
Definition at line 176 of file video.c.
◆ nsvideo_need_data_event()
static void nsvideo_need_data_event |
( |
GstElement * |
playbin, |
|
|
guint |
size, |
|
|
nsvideo_content * |
video |
|
) |
| |
|
static |
◆ nsvideo_process_data()
static bool nsvideo_process_data |
( |
struct content * |
c, |
|
|
const char * |
data, |
|
|
unsigned int |
size |
|
) |
| |
|
static |
◆ nsvideo_redraw()
◆ nsvideo_source_event()
static void nsvideo_source_event |
( |
GObject * |
object, |
|
|
GObject * |
orig, |
|
|
GParamSpec * |
pspec, |
|
|
nsvideo_content * |
video |
|
) |
| |
|
static |
◆ nsvideo_type()
◆ nsvideo_content_handler
Initial value:= {
.no_share = true
}
static void * nsvideo_get_internal(const struct content *c, void *context)
static bool nsvideo_redraw(struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx)
static void nsvideo_destroy(struct content *c)
static content_type nsvideo_type(void)
static nserror nsvideo_create(const content_handler *handler, lwc_string *imime_type, const http_parameter *params, llcache_handle *llcache, const char *fallback_charset, bool quirks, struct content **c)
static nserror nsvideo_clone(const struct content *old, struct content **newc)
static bool nsvideo_process_data(struct content *c, const char *data, unsigned int size)
static bool nsvideo_convert(struct content *c)
Definition at line 182 of file video.c.
◆ nsvideo_types
const char* nsvideo_types[] |
|
static |
Initial value:= {
"video/mp4",
"video/webm"
}
Definition at line 195 of file video.c.