mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
inputselector: fix printf format
The padcount is uint. Also add comments to the instance vars.
This commit is contained in:
parent
d8aac32c78
commit
d8bee3c769
2 changed files with 3 additions and 3 deletions
|
@ -1688,7 +1688,7 @@ gst_input_selector_request_new_pad (GstElement * element,
|
|||
|
||||
GST_INPUT_SELECTOR_LOCK (sel);
|
||||
|
||||
GST_LOG_OBJECT (sel, "Creating new pad %d", sel->padcount);
|
||||
GST_LOG_OBJECT (sel, "Creating new pad sink_%u", sel->padcount);
|
||||
name = g_strdup_printf ("sink_%u", sel->padcount++);
|
||||
sinkpad = g_object_new (GST_TYPE_SELECTOR_PAD,
|
||||
"name", name, "direction", templ->direction, "template", templ, NULL);
|
||||
|
|
|
@ -66,8 +66,8 @@ struct _GstInputSelector {
|
|||
GstPad *srcpad;
|
||||
|
||||
GstPad *active_sinkpad;
|
||||
guint n_pads;
|
||||
guint padcount;
|
||||
guint n_pads; /* number of pads */
|
||||
guint padcount; /* sequence number for pads */
|
||||
gboolean sync_streams;
|
||||
GstInputSelectorSyncMode sync_mode;
|
||||
gboolean cache_buffers;
|
||||
|
|
Loading…
Reference in a new issue