aacparse: set minimum frame size at _start
... rather than one time at _init.
This commit is contained in:
parent
edb495646d
commit
2d482deabe
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user