mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
plaback: trim trailing whitespace
This commit is contained in:
parent
7f1382112e
commit
63be375c21
3 changed files with 9 additions and 9 deletions
|
@ -678,7 +678,7 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
* If this function returns NULL, @pad will be exposed as a final caps.
|
||||
*
|
||||
* If this function returns an empty array, the pad will be considered as
|
||||
* having an unhandled type media type.
|
||||
* having an unhandled type media type.
|
||||
*
|
||||
* <note>
|
||||
* Only the signal handler that is connected first will ever by invoked.
|
||||
|
|
|
@ -705,7 +705,7 @@ queue_threshold_reached (GstElement * queue, GstPlayBaseBin * play_base_bin)
|
|||
}
|
||||
|
||||
/* this signal will be fired when one of the queues with raw
|
||||
* data is filled. This means that the group building stage is over
|
||||
* data is filled. This means that the group building stage is over
|
||||
* and playback of the new queued group should start. This is a rather unusual
|
||||
* situation because normally the group is commited when the "no_more_pads"
|
||||
* signal is fired.
|
||||
|
@ -843,7 +843,7 @@ gen_preroll_element (GstPlayBaseBin * play_base_bin,
|
|||
|
||||
/* the overrun signal is always attached and serves two purposes:
|
||||
*
|
||||
* 1) when we are building a group and the overrun is called, we commit the
|
||||
* 1) when we are building a group and the overrun is called, we commit the
|
||||
* group. The reason being that if we fill the entire queue without a
|
||||
* normal group commit (with _no_more_pads()) we can assume the
|
||||
* audio/video is completely wacked or the element just does not know when
|
||||
|
@ -1252,7 +1252,7 @@ probe_triggered (GstPad * pad, GstEvent * event, gpointer user_data)
|
|||
|
||||
/* This function will be called when the sinkpad of the preroll element
|
||||
* is unlinked, we have to connect something to the sinkpad or else the
|
||||
* state change will fail..
|
||||
* state change will fail..
|
||||
*/
|
||||
static void
|
||||
preroll_unlinked (GstPad * pad, GstPad * peerpad,
|
||||
|
@ -1315,8 +1315,8 @@ silence_stream (GstPad * pad, GstMiniObject * data, gpointer user_data)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* Called by the signal handlers when a decodebin (main or subtitle) has
|
||||
* found a new raw pad. We create a preroll element if needed and the
|
||||
/* Called by the signal handlers when a decodebin (main or subtitle) has
|
||||
* found a new raw pad. We create a preroll element if needed and the
|
||||
* appropriate streaminfo. Commits the group if there will be no more pads
|
||||
* from decodebin */
|
||||
static void
|
||||
|
@ -1936,7 +1936,7 @@ analyse_source (GstPlayBaseBin * play_base_bin, gboolean * is_raw,
|
|||
if (GST_PAD_TEMPLATE_DIRECTION (templ) == GST_PAD_SRC) {
|
||||
if (GST_PAD_TEMPLATE_PRESENCE (templ) == GST_PAD_SOMETIMES) {
|
||||
*is_dynamic = TRUE;
|
||||
break; /* only break out if we found a sometimes src pad
|
||||
break; /* only break out if we found a sometimes src pad
|
||||
continue walking through if say a request src pad is found
|
||||
elements such as mpegtsparse and dvbbasebin have request
|
||||
and sometimes src pads */
|
||||
|
|
|
@ -2426,7 +2426,7 @@ notify_tags_cb (GObject * object, GParamSpec * pspec, gpointer user_data)
|
|||
}
|
||||
|
||||
/* this function is called when a new pad is added to decodebin. We check the
|
||||
* type of the pad and add it to the selector element of the group.
|
||||
* type of the pad and add it to the selector element of the group.
|
||||
*/
|
||||
static void
|
||||
pad_added_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group)
|
||||
|
@ -3431,7 +3431,7 @@ deactivate_group (GstPlayBin * playbin, GstSourceGroup * group)
|
|||
}
|
||||
|
||||
/* setup the next group to play, this assumes the next_group is valid and
|
||||
* configured. It swaps out the current_group and activates the valid
|
||||
* configured. It swaps out the current_group and activates the valid
|
||||
* next_group. */
|
||||
static gboolean
|
||||
setup_next_source (GstPlayBin * playbin, GstState target)
|
||||
|
|
Loading…
Reference in a new issue