Remove some unused code.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func):
* gst-libs/gst/audio/gstaudiosrc.c: (audioringbuffer_thread_func):
* gst/tcp/gsttcp.c: (gst_tcp_socket_write):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps_list):
Remove some unused code.
* gst/audioconvert/gstaudioquantize.c:
(gst_audio_quantize_free_noise_shaping):
Don't return before freeing the noise shaping history.
This commit is contained in:
Sebastian Dröge 2008-05-04 15:02:20 +00:00
parent 1157de776a
commit 83f0729394
6 changed files with 16 additions and 8 deletions

View file

@ -1,3 +1,15 @@
2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func):
* gst-libs/gst/audio/gstaudiosrc.c: (audioringbuffer_thread_func):
* gst/tcp/gsttcp.c: (gst_tcp_socket_write):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps_list):
Remove some unused code.
* gst/audioconvert/gstaudioquantize.c:
(gst_audio_quantize_free_noise_shaping):
Don't return before freeing the noise shaping history.
2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
* tests/check/elements/subparse.c: (do_test),

View file

@ -255,8 +255,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf)
GST_OBJECT_UNLOCK (abuf);
}
}
GST_DEBUG_OBJECT (sink, "exit thread");
/* Will never be reached */
return;
/* ERROR */

View file

@ -248,8 +248,8 @@ audioringbuffer_thread_func (GstRingBuffer * buf)
GST_OBJECT_UNLOCK (abuf);
}
}
GST_DEBUG_OBJECT (src, "exit thread");
/* Will never be reached */
return;
/* ERROR */

View file

@ -430,7 +430,6 @@ gst_audio_quantize_free_noise_shaping (AudioConvertCtx * ctx)
default:
break;
}
return;
g_free (ctx->error_buf);
ctx->error_buf = NULL;

View file

@ -110,15 +110,13 @@ gst_tcp_socket_write (int socket, const void *buf, size_t count)
count - bytes_written, MSG_NOSIGNAL);
if (wrote <= 0) {
GST_WARNING ("error while writing");
return bytes_written;
}
bytes_written += wrote;
}
if (bytes_written < 0)
GST_WARNING ("error while writing");
else
GST_LOG ("wrote %" G_GSIZE_FORMAT " bytes succesfully", bytes_written);
GST_LOG ("wrote %" G_GSIZE_FORMAT " bytes succesfully", bytes_written);
return bytes_written;
}

View file

@ -611,7 +611,6 @@ gst_v4lsrc_get_fps_list (GstV4lSrc * v4lsrc)
gst_v4l_set_window_properties (v4lelement);
return list;
}
return NULL;
}
#define GST_TYPE_V4LSRC_BUFFER (gst_v4lsrc_buffer_get_type())