mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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:
parent
1157de776a
commit
83f0729394
6 changed files with 16 additions and 8 deletions
12
ChangeLog
12
ChangeLog
|
@ -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),
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -430,7 +430,6 @@ gst_audio_quantize_free_noise_shaping (AudioConvertCtx * ctx)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
return;
|
||||
|
||||
g_free (ctx->error_buf);
|
||||
ctx->error_buf = NULL;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue