typefinding: stop jpeg typefinding once we found a SOF marker

This commit is contained in:
Tim-Philipp Müller 2010-06-05 18:14:38 +01:00
parent 3c39d99847
commit d4269515fa

View file

@ -2673,6 +2673,7 @@ jpeg_type_find (GstTypeFind * tf, gpointer unused)
gst_caps_set_simple (caps, "width", G_TYPE_INT, w,
"height", G_TYPE_INT, h, NULL);
break;
} else {
GST_WARNING ("bad length or unexpected JPEG marker 0xff 0x%02x", marker);
break;