jifmux: Put APP0 first always
Fixes the order of the APP0/APP1 markers. APP0 should be first.
This commit is contained in:
parent
709a65cddf
commit
ba15ad9387
@ -470,6 +470,7 @@ gst_jif_mux_mangle_markers (GstJifMux * self)
|
|||||||
(const guint8 *) &jfif_data, FALSE);
|
(const guint8 *) &jfif_data, FALSE);
|
||||||
/* insert into self->markers list */
|
/* insert into self->markers list */
|
||||||
self->priv->markers = g_list_insert (self->priv->markers, m, 1);
|
self->priv->markers = g_list_insert (self->priv->markers, m, 1);
|
||||||
|
app0_jfif = g_list_nth (self->priv->markers, 1);
|
||||||
}
|
}
|
||||||
/* else */
|
/* else */
|
||||||
/* remove JFIF if exists */
|
/* remove JFIF if exists */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user