From 2d482deabeede005507680432842bf2de8f37aa8 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Sat, 25 Sep 2010 14:01:07 +0200 Subject: [PATCH] aacparse: set minimum frame size at _start ... rather than one time at _init. --- gst/audioparsers/gstaacparse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c index 146acb970..0584a8626 100644 --- a/gst/audioparsers/gstaacparse.c +++ b/gst/audioparsers/gstaacparse.c @@ -173,8 +173,6 @@ gst_aacparse_class_init (GstAacParseClass * klass) static void gst_aacparse_init (GstAacParse * aacparse, GstAacParseClass * klass) { - /* init rest */ - gst_base_parse_set_min_frame_size (GST_BASE_PARSE (aacparse), 1024); GST_DEBUG ("initialized"); } @@ -665,6 +663,7 @@ gst_aacparse_start (GstBaseParse * parse) aacparse = GST_AACPARSE (parse); GST_DEBUG ("start"); aacparse->src_caps_set = FALSE; + gst_base_parse_set_min_frame_size (GST_BASE_PARSE (aacparse), 1024); gst_base_parse_set_passthrough (parse, FALSE); return TRUE; } -- 2.34.1