osxaudio: Remove unused code
This commit is contained in:
parent
afb284e3a9
commit
e7710c2655
@ -325,15 +325,12 @@ gst_osx_audio_sink_getcaps (GstBaseSink * base, GstCaps * filter)
|
|||||||
static gboolean
|
static gboolean
|
||||||
gst_osx_audio_sink_acceptcaps (GstOsxAudioSink * sink, GstCaps * caps)
|
gst_osx_audio_sink_acceptcaps (GstOsxAudioSink * sink, GstCaps * caps)
|
||||||
{
|
{
|
||||||
GstOsxAudioRingBuffer *osxbuf = NULL;
|
|
||||||
GstCaps *pad_caps;
|
GstCaps *pad_caps;
|
||||||
GstStructure *st;
|
GstStructure *st;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
GstAudioRingBufferSpec spec = { 0 };
|
GstAudioRingBufferSpec spec = { 0 };
|
||||||
gchar *caps_string = NULL;
|
gchar *caps_string = NULL;
|
||||||
|
|
||||||
osxbuf = GST_OSX_AUDIO_RING_BUFFER (GST_AUDIO_BASE_SINK (sink)->ringbuffer);
|
|
||||||
|
|
||||||
caps_string = gst_caps_to_string (caps);
|
caps_string = gst_caps_to_string (caps);
|
||||||
GST_DEBUG_OBJECT (sink, "acceptcaps called with %s", caps_string);
|
GST_DEBUG_OBJECT (sink, "acceptcaps called with %s", caps_string);
|
||||||
g_free (caps_string);
|
g_free (caps_string);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user