jpegenc: Accept sof-marker=4
authorThibault Saunier <tsaunier@igalia.com>
Sun, 22 Apr 2018 13:40:19 +0000 (10:40 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Mon, 23 Apr 2018 10:55:30 +0000 (07:55 -0300)
sof-marker is 4 when input is in the RGB colorspace.

https://bugzilla.gnome.org/show_bug.cgi?id=795463

ext/jpeg/gstjpegenc.c

index 3f4be06..504f195 100644 (file)
@@ -113,7 +113,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
         "width = (int) [ 16, 65535 ], "
         "height = (int) [ 16, 65535 ], "
         "framerate = (fraction) [ 0/1, MAX ], "
-        "sof-marker = (int) { 0, 1, 2, 9 }")
+        "sof-marker = (int) { 0, 1, 2, 4, 9 }")
     );
 
 static void