mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +00:00
baseparse: trim trailing whitespace
This commit is contained in:
parent
e8f04e76b7
commit
0774878e92
1 changed files with 7 additions and 7 deletions
|
@ -24,7 +24,7 @@
|
||||||
* @short_description: Base class for stream parsers
|
* @short_description: Base class for stream parsers
|
||||||
* @see_also: #GstBaseTransform
|
* @see_also: #GstBaseTransform
|
||||||
*
|
*
|
||||||
* This base class is for parser elements that process data and splits it
|
* This base class is for parser elements that process data and splits it
|
||||||
* into separate audio/video/whatever frames.
|
* into separate audio/video/whatever frames.
|
||||||
*
|
*
|
||||||
* It provides for:
|
* It provides for:
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
* </para></listitem>
|
* </para></listitem>
|
||||||
* <listitem><para>
|
* <listitem><para>
|
||||||
* At least in this point subclass needs to tell the GstBaseParse class
|
* At least in this point subclass needs to tell the GstBaseParse class
|
||||||
* how big data chunks it wants to receive (min_frame_size). It can do
|
* how big data chunks it wants to receive (min_frame_size). It can do
|
||||||
* this with @gst_base_parse_set_min_frame_size.
|
* this with @gst_base_parse_set_min_frame_size.
|
||||||
* </para></listitem>
|
* </para></listitem>
|
||||||
* <listitem><para>
|
* <listitem><para>
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
* <itemizedlist>
|
* <itemizedlist>
|
||||||
* <title>Parsing phase</title>
|
* <title>Parsing phase</title>
|
||||||
* <listitem><para>
|
* <listitem><para>
|
||||||
* GstBaseParse gathers at least min_frame_size bytes of data either
|
* GstBaseParse gathers at least min_frame_size bytes of data either
|
||||||
* by pulling it from upstream or collecting buffers into internal
|
* by pulling it from upstream or collecting buffers into internal
|
||||||
* #GstAdapter.
|
* #GstAdapter.
|
||||||
* </para></listitem>
|
* </para></listitem>
|
||||||
|
@ -123,8 +123,8 @@
|
||||||
* </orderedlist>
|
* </orderedlist>
|
||||||
*
|
*
|
||||||
* Subclass is responsible for providing pad template caps for
|
* Subclass is responsible for providing pad template caps for
|
||||||
* source and sink pads. The pads need to be named "sink" and "src". It also
|
* source and sink pads. The pads need to be named "sink" and "src". It also
|
||||||
* needs to set the fixed caps on srcpad, when the format is ensured (e.g.
|
* needs to set the fixed caps on srcpad, when the format is ensured (e.g.
|
||||||
* when base class calls subclass' @set_sink_caps function).
|
* when base class calls subclass' @set_sink_caps function).
|
||||||
*
|
*
|
||||||
* This base class uses GST_FORMAT_DEFAULT as a meaning of frames. So,
|
* This base class uses GST_FORMAT_DEFAULT as a meaning of frames. So,
|
||||||
|
@ -637,7 +637,7 @@ gst_base_parse_reset (GstBaseParse * parse)
|
||||||
* in order to find the following frame header.
|
* in order to find the following frame header.
|
||||||
*
|
*
|
||||||
* Default callback for check_valid_frame.
|
* Default callback for check_valid_frame.
|
||||||
*
|
*
|
||||||
* Returns: Always TRUE.
|
* Returns: Always TRUE.
|
||||||
*/
|
*/
|
||||||
static gboolean
|
static gboolean
|
||||||
|
@ -874,7 +874,7 @@ gst_base_parse_sink_eventfunc (GstBaseParse * parse, GstEvent * event)
|
||||||
"start = %" GST_TIME_FORMAT ", stop = %" GST_TIME_FORMAT,
|
"start = %" GST_TIME_FORMAT ", stop = %" GST_TIME_FORMAT,
|
||||||
GST_TIME_ARGS (seg_start), GST_TIME_ARGS (seg_stop));
|
GST_TIME_ARGS (seg_start), GST_TIME_ARGS (seg_stop));
|
||||||
} else if (format != GST_FORMAT_TIME) {
|
} else if (format != GST_FORMAT_TIME) {
|
||||||
/* Unknown incoming segment format. Output a default open-ended
|
/* Unknown incoming segment format. Output a default open-ended
|
||||||
* TIME segment */
|
* TIME segment */
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
event = gst_event_new_new_segment_full (update, rate, applied_rate,
|
event = gst_event_new_new_segment_full (update, rate, applied_rate,
|
||||||
|
|
Loading…
Reference in a new issue