From cc65ba987a67231b3dcfec90906a2f4687e56778 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ren=C3=A9=20Stadler?= Date: Fri, 3 Dec 2010 16:14:15 +0200 Subject: [PATCH] typefind: stop scanning after suggesting E-AC-3 caps --- gst/typefind/gsttypefindfunctions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index de843bf..d8fa528 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -1311,6 +1311,7 @@ ac3_type_find (GstTypeFind * tf, gpointer unused) prob = GST_TYPE_FIND_NEARLY_CERTAIN; gst_type_find_suggest (tf, prob, EAC3_CAPS); + return; } else { GST_LOG ("no second E-AC3 frame found, false sync"); } -- 2.7.4