jifmux: Put APP0 first always

Fixes the order of the APP0/APP1 markers. APP0 should
be first.
This commit is contained in:
Thiago Santos 2010-08-19 22:43:47 -03:00
parent 709a65cddf
commit ba15ad9387

View file

@ -470,6 +470,7 @@ gst_jif_mux_mangle_markers (GstJifMux * self)
(const guint8 *) &jfif_data, FALSE);
/* insert into self->markers list */
self->priv->markers = g_list_insert (self->priv->markers, m, 1);
app0_jfif = g_list_nth (self->priv->markers, 1);
}
/* else */
/* remove JFIF if exists */