[Bug 767011] rawparse: new rawaudioparse element which deprecates audioparse and unalignedaudioparse

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 31 18:13:15 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=767011

--- Comment #7 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
(In reply to Carlos Rafael Giani from comment #4)
> Then what does stream start mean, if not a start of a completely new stream?

It means a new "logical" stream, I don't think it requires the caps to change
or be re-sent.

(In reply to Carlos Rafael Giani from comment #5)
> Is this true? I understood min_frame_size as the minimum size of a buffer,
> as indicated by this part of the docs: "A buffer of (at least)
> min_frame_size bytes is passed to subclass with handle_frame." On the other
> hand, the docs also mention: "Inform base class how big data chunks should
> be retrieved. This is done with gst_base_parse_set_min_frame_size()
> function." I suppose "how big data chunks" refers to multiples of
> min_frame_size?


Min size is indeed just a minimum, but if the base class gives you something
that is more than the multiple of the "bpf, you can call _finish_frame() with a
multiple of bpf and the following bytes will be given to you again in the next
->handle_frame(), the adapter in the base class is there exactly for the kind
of stuff your doing, because almost all parsers have something like that.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list