mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
tests: fix compilation
This commit is contained in:
parent
9365f12d6e
commit
9737bf26f0
1 changed files with 2 additions and 2 deletions
|
@ -474,7 +474,7 @@ float_buffer_check_probe (GstPad * pad, GstPadProbeInfo * info,
|
||||||
gint channels;
|
gint channels;
|
||||||
GstBuffer *buffer = GST_PAD_PROBE_INFO_BUFFER (info);
|
GstBuffer *buffer = GST_PAD_PROBE_INFO_BUFFER (info);
|
||||||
GstAudioInfo audio_info;
|
GstAudioInfo audio_info;
|
||||||
gint pad_id = (gint) userdata;
|
guint pad_id = GPOINTER_TO_UINT (userdata);
|
||||||
|
|
||||||
fail_unless_equals_int (sscanf (GST_PAD_NAME (pad), "src_%u", &padnum), 1);
|
fail_unless_equals_int (sscanf (GST_PAD_NAME (pad), "src_%u", &padnum), 1);
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ pad_added_setup_data_check_float32_8ch_cb (GstElement * deinterleave,
|
||||||
|
|
||||||
|
|
||||||
gst_pad_add_probe (pad, GST_PAD_PROBE_TYPE_BUFFER, float_buffer_check_probe,
|
gst_pad_add_probe (pad, GST_PAD_PROBE_TYPE_BUFFER, float_buffer_check_probe,
|
||||||
(gpointer) pads_created, NULL);
|
GUINT_TO_POINTER (pads_created), NULL);
|
||||||
|
|
||||||
gst_element_set_state (sink, GST_STATE_PLAYING);
|
gst_element_set_state (sink, GST_STATE_PLAYING);
|
||||||
gst_element_set_state (queue, GST_STATE_PLAYING);
|
gst_element_set_state (queue, GST_STATE_PLAYING);
|
||||||
|
|
Loading…
Reference in a new issue