if (enc->multipass_cache_fd
&& enc->multipass_mode == MULTIPASS_MODE_FIRST_PASS) {
- if (!theora_enc_write_multipass_cache (enc)) {
+ if (!theora_enc_write_multipass_cache (enc, FALSE, FALSE)) {
+ gst_buffer_unmap (buffer, data, size);
ret = GST_FLOW_ERROR;
goto multipass_write_failed;
}
xmp_tags_initialize ()
{
static GOnce my_once = G_ONCE_INIT;
- g_once (&my_once, _init_xmp_tag_map, NULL);
- g_once (&my_once, (GThreadFunc)_init_xmp_tag_map, NULL);
++ g_once (&my_once, (GThreadFunc) _init_xmp_tag_map, NULL);
}
typedef struct _GstXmpNamespaceMatch GstXmpNamespaceMatch;