GNOME Bugzilla – Bug 756954
basesink: rename 'pad' arg in LOCK/COND macros
Last modified: 2015-10-22 15:36:01 UTC
Macros such as #define GST_BASE_SINK_GET_PREROLL_LOCK(pad) (&GST_BASE_SINK_CAST(pad)->preroll_lock) are missleading as their argument is a GstBaseSink implementation and not a GstPad.
Created attachment 313854 [details] [review] basesink: rename argument of PREROLL_{COND,LOCK} macros They take a GstBaseSink instance as argument at not a GstPad. Rename the argument to 'obj' which is not miss leading and in line with GST_BASE_SINK_PAD(obj).
Makes sense, thanks. commit 66b6d355e4e876a984def6824d9def582b83359e Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Thu Oct 22 12:00:42 2015 +0200 basesink: rename argument of PREROLL_{COND,LOCK} macros They take a GstBaseSink instance as argument at not a GstPad. Rename the argument to 'obj' which is not miss leading and in line with GST_BASE_SINK_PAD(obj). https://bugzilla.gnome.org/show_bug.cgi?id=756954