typefind: stop scanning after suggesting E-AC-3 caps
authorRené Stadler <rene.stadler@nokia.com>
Fri, 3 Dec 2010 14:14:15 +0000 (16:14 +0200)
committerRené Stadler <rene.stadler@nokia.com>
Tue, 7 Dec 2010 19:28:20 +0000 (21:28 +0200)
gst/typefind/gsttypefindfunctions.c

index de843bf0b8f63bb01d1c30b1c54656ef302ecf7d..d8fa5280ded74575768d6a87183143666568c41f 100644 (file)
@@ -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");
           }