plaback: trim trailing whitespace

This commit is contained in:
Stefan Kost 2011-03-14 10:09:35 +02:00
parent 7f1382112e
commit 63be375c21
3 changed files with 9 additions and 9 deletions

View file

@ -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 NULL, @pad will be exposed as a final caps.
* *
* If this function returns an empty array, the pad will be considered as * 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> * <note>
* Only the signal handler that is connected first will ever by invoked. * Only the signal handler that is connected first will ever by invoked.

View file

@ -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 /* 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 * 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" * situation because normally the group is commited when the "no_more_pads"
* signal is fired. * signal is fired.
@ -843,7 +843,7 @@ gen_preroll_element (GstPlayBaseBin * play_base_bin,
/* the overrun signal is always attached and serves two purposes: /* 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 * group. The reason being that if we fill the entire queue without a
* normal group commit (with _no_more_pads()) we can assume the * normal group commit (with _no_more_pads()) we can assume the
* audio/video is completely wacked or the element just does not know when * 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 /* 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 * is unlinked, we have to connect something to the sinkpad or else the
* state change will fail.. * state change will fail..
*/ */
static void static void
preroll_unlinked (GstPad * pad, GstPad * peerpad, preroll_unlinked (GstPad * pad, GstPad * peerpad,
@ -1315,8 +1315,8 @@ silence_stream (GstPad * pad, GstMiniObject * data, gpointer user_data)
return FALSE; return FALSE;
} }
/* Called by the signal handlers when a decodebin (main or subtitle) has /* 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 * 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 * appropriate streaminfo. Commits the group if there will be no more pads
* from decodebin */ * from decodebin */
static void 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_DIRECTION (templ) == GST_PAD_SRC) {
if (GST_PAD_TEMPLATE_PRESENCE (templ) == GST_PAD_SOMETIMES) { if (GST_PAD_TEMPLATE_PRESENCE (templ) == GST_PAD_SOMETIMES) {
*is_dynamic = TRUE; *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 continue walking through if say a request src pad is found
elements such as mpegtsparse and dvbbasebin have request elements such as mpegtsparse and dvbbasebin have request
and sometimes src pads */ and sometimes src pads */

View file

@ -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 /* 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 static void
pad_added_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group) 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 /* 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. */ * next_group. */
static gboolean static gboolean
setup_next_source (GstPlayBin * playbin, GstState target) setup_next_source (GstPlayBin * playbin, GstState target)