mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
gst/: Added debug.
Original commit message from CVS: * gst/rtp/gstrtptheorapay.c: * gst/udp/gstmultiudpsink.c: Added debug.
This commit is contained in:
parent
d33bbb1176
commit
b3ac90d9e8
3 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/rtp/gstrtptheorapay.c:
|
||||||
|
* gst/udp/gstmultiudpsink.c:
|
||||||
|
Added debug.
|
||||||
|
|
||||||
2008-06-20 Christian Schaller <christian.schaller@collabora.co.uk>
|
2008-06-20 Christian Schaller <christian.schaller@collabora.co.uk>
|
||||||
|
|
||||||
* configure.ac: switch v4l2src over to the normal build instead of
|
* configure.ac: switch v4l2src over to the normal build instead of
|
||||||
|
|
|
@ -280,8 +280,10 @@ gst_rtp_theora_pay_finish_headers (GstBaseRTPPayload * basepayload)
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rtptheorapay, "finish headers");
|
GST_DEBUG_OBJECT (rtptheorapay, "finish headers");
|
||||||
|
|
||||||
if (!rtptheorapay->headers)
|
if (!rtptheorapay->headers) {
|
||||||
|
GST_DEBUG_OBJECT (rtptheorapay, "We need 2 headers but have none");
|
||||||
goto no_headers;
|
goto no_headers;
|
||||||
|
}
|
||||||
|
|
||||||
/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
* | Number of packed headers |
|
* | Number of packed headers |
|
||||||
|
|
|
@ -374,7 +374,7 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
|
||||||
|
|
||||||
sink->bytes_to_serve += size;
|
sink->bytes_to_serve += size;
|
||||||
|
|
||||||
/* grab lock while iterating and sending to clients, this shuld be
|
/* grab lock while iterating and sending to clients, this should be
|
||||||
* fast as UDP never blocks */
|
* fast as UDP never blocks */
|
||||||
g_mutex_lock (sink->client_lock);
|
g_mutex_lock (sink->client_lock);
|
||||||
GST_LOG_OBJECT (bsink, "about to send %d bytes", size);
|
GST_LOG_OBJECT (bsink, "about to send %d bytes", size);
|
||||||
|
@ -697,11 +697,14 @@ gst_multiudpsink_add_internal (GstMultiUDPSink * sink, const gchar * host,
|
||||||
g_signal_emit (G_OBJECT (sink),
|
g_signal_emit (G_OBJECT (sink),
|
||||||
gst_multiudpsink_signals[SIGNAL_CLIENT_ADDED], 0, host, port);
|
gst_multiudpsink_signals[SIGNAL_CLIENT_ADDED], 0, host, port);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (sink, "added client on host %s, port %d", host, port);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
getaddrinfo_error:
|
getaddrinfo_error:
|
||||||
{
|
{
|
||||||
|
GST_DEBUG_OBJECT (sink, "did not add client on host %s, port %d", host,
|
||||||
|
port);
|
||||||
GST_WARNING_OBJECT (sink, "getaddrinfo lookup error?");
|
GST_WARNING_OBJECT (sink, "getaddrinfo lookup error?");
|
||||||
g_free (client->host);
|
g_free (client->host);
|
||||||
g_free (client);
|
g_free (client);
|
||||||
|
|
Loading…
Reference in a new issue