summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2008-12-09 18:51:08 +0100
committerBenjamin Otte <otte@gnome.org>2008-12-16 15:16:38 +0100
commitbb4a615585e037a19c0f5e8aa98349b8b21f4504 (patch)
treea76c3f51bc6ed51a6fa37006bbf2d759b56d6454
parentf991fe617b20f4272bf8ff7122f2a24d63f09d29 (diff)
rename registering funcs
-rw-r--r--swfdec/swfdec_rtmp_connection.c8
-rw-r--r--swfdec/swfdec_rtmp_connection.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/swfdec/swfdec_rtmp_connection.c b/swfdec/swfdec_rtmp_connection.c
index 208cc632..f11fdbf4 100644
--- a/swfdec/swfdec_rtmp_connection.c
+++ b/swfdec/swfdec_rtmp_connection.c
@@ -291,7 +291,7 @@ swfdec_rtmp_connection_init (SwfdecRtmpConnection *conn)
conn->read_size = SWFDEC_RTMP_BLOCK_SIZE;
conn->write_size = SWFDEC_RTMP_BLOCK_SIZE;
- swfdec_rtmp_register_stream (conn, 0, SWFDEC_RTMP_STREAM (conn));
+ swfdec_rtmp_connection_register_stream (conn, 0, SWFDEC_RTMP_STREAM (conn));
}
void
@@ -373,7 +373,7 @@ swfdec_rtmp_connection_on_status (SwfdecRtmpConnection *conn, SwfdecAsValue valu
}
void
-swfdec_rtmp_register_stream (SwfdecRtmpConnection *conn,
+swfdec_rtmp_connection_register_stream (SwfdecRtmpConnection *conn,
guint id, SwfdecRtmpStream *stream)
{
g_return_if_fail (SWFDEC_IS_RTMP_CONNECTION (conn));
@@ -389,7 +389,7 @@ swfdec_rtmp_register_stream (SwfdecRtmpConnection *conn,
}
void
-swfdec_rtmp_unregister_stream (SwfdecRtmpConnection *conn, guint id)
+swfdec_rtmp_connection_unregister_stream (SwfdecRtmpConnection *conn, guint id)
{
g_return_if_fail (SWFDEC_IS_RTMP_CONNECTION (conn));
@@ -412,7 +412,7 @@ swfdec_rtmp_connection_send (SwfdecRtmpConnection *conn, SwfdecRtmpPacket *packe
packet->buffer->length = 0;
send = g_queue_is_empty (conn->packets);
g_queue_push_tail (conn->packets, packet);
- g_print ("pushed channel %u - %u packets now\n", packet->header.channel,
+ SWFDEC_LOG ("pushed channel %u - %u packets now", packet->header.channel,
g_queue_get_length (conn->packets));
if (send)
swfdec_rtmp_socket_send (conn->socket);
diff --git a/swfdec/swfdec_rtmp_connection.h b/swfdec/swfdec_rtmp_connection.h
index 13fbd7fa..ed0f3234 100644
--- a/swfdec/swfdec_rtmp_connection.h
+++ b/swfdec/swfdec_rtmp_connection.h
@@ -95,10 +95,10 @@ void swfdec_rtmp_connection_errorv (SwfdecRtmpConnection * conn,
void swfdec_rtmp_connection_on_status (SwfdecRtmpConnection * conn,
SwfdecAsValue value);
-void swfdec_rtmp_register_stream (SwfdecRtmpConnection * conn,
+void swfdec_rtmp_connection_register_stream (SwfdecRtmpConnection * conn,
guint id,
SwfdecRtmpStream * stream);
-void swfdec_rtmp_unregister_stream (SwfdecRtmpConnection * conn,
+void swfdec_rtmp_connection_unregister_stream(SwfdecRtmpConnection * conn,
guint id);