mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
aggregator: code cleanups
Fix comment typos, some copy'n'paste in logging. Add more doc comments.
This commit is contained in:
parent
f3bcf65f92
commit
893c11136b
2 changed files with 5 additions and 4 deletions
|
@ -394,7 +394,7 @@ gst_audio_aggregator_src_event (GstAggregator * agg, GstEvent * event)
|
|||
gst_event_parse_seek (event, &rate, &seek_format, &flags, &start_type,
|
||||
&start, &stop_type, &stop);
|
||||
|
||||
/* Check the seeking parametters before linking up */
|
||||
/* Check the seeking parameters before linking up */
|
||||
if ((start_type != GST_SEEK_TYPE_NONE)
|
||||
&& (start_type != GST_SEEK_TYPE_SET)) {
|
||||
result = FALSE;
|
||||
|
|
|
@ -356,6 +356,8 @@ static GstFlowReturn gst_aggregator_pad_chain_internal (GstAggregator * self,
|
|||
*
|
||||
* This method guarantees that @func will be called only once for each
|
||||
* sink pad.
|
||||
*
|
||||
* Returns: %FALSE if there are no sinkpads or if @func returned %FALSE
|
||||
*/
|
||||
gboolean
|
||||
gst_aggregator_iterate_sinkpads (GstAggregator * self,
|
||||
|
@ -779,9 +781,8 @@ check_events (GstAggregator * self, GstAggregatorPad * pad, gpointer user_data)
|
|||
if (klass == NULL)
|
||||
klass = GST_AGGREGATOR_GET_CLASS (self);
|
||||
|
||||
GST_LOG_OBJECT (pad, "Processing %" GST_PTR_FORMAT, event);
|
||||
|
||||
if (event) {
|
||||
GST_LOG_OBJECT (pad, "Processing %" GST_PTR_FORMAT, event);
|
||||
gst_event_ref (event);
|
||||
ret = klass->sink_event (self, pad, event);
|
||||
|
||||
|
@ -794,7 +795,7 @@ check_events (GstAggregator * self, GstAggregatorPad * pad, gpointer user_data)
|
|||
}
|
||||
|
||||
if (query) {
|
||||
GST_LOG_OBJECT (pad, "Processing %" GST_PTR_FORMAT, event);
|
||||
GST_LOG_OBJECT (pad, "Processing %" GST_PTR_FORMAT, query);
|
||||
ret = klass->sink_query (self, pad, query);
|
||||
|
||||
PAD_LOCK (pad);
|
||||
|
|
Loading…
Reference in a new issue