rtsp-client.c:2553:50: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
Just in case that guint8 doesn't fit in a pointer. Just in case ...
buffer = gst_buffer_new_wrapped (data, size);
- trans = g_hash_table_lookup (priv->transports, GINT_TO_POINTER (channel));
+ trans =
+ g_hash_table_lookup (priv->transports, GINT_TO_POINTER ((gint) channel));
if (trans) {
/* dispatch to the stream based on the channel number */
gst_rtsp_stream_transport_recv_data (trans, channel, buffer);