mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
aacparse: set minimum frame size at _start
... rather than one time at _init.
This commit is contained in:
parent
edb495646d
commit
2d482deabe
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue