From ba15ad9387e6cef78d8a3ddf2abc687762a7f3d6 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 19 Aug 2010 22:43:47 -0300 Subject: [PATCH] jifmux: Put APP0 first always Fixes the order of the APP0/APP1 markers. APP0 should be first. --- gst/jpegformat/gstjifmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/jpegformat/gstjifmux.c b/gst/jpegformat/gstjifmux.c index 1499366f66..f7efd5e841 100644 --- a/gst/jpegformat/gstjifmux.c +++ b/gst/jpegformat/gstjifmux.c @@ -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 */