From d4269515fa07baee47b52f23ebe517547fb43d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 5 Jun 2010 18:14:38 +0100 Subject: [PATCH] typefinding: stop jpeg typefinding once we found a SOF marker --- gst/typefind/gsttypefindfunctions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 5f4659ff0a..bbb6032859 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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;