decoder: drop unused functions.

This commit is contained in:
Gwenole Beauchesne 2012-10-09 14:40:00 +02:00
parent da1e4e3918
commit d7fccc351a
2 changed files with 0 additions and 38 deletions

View file

@ -73,17 +73,6 @@ push_buffer(GstVaapiDecoder *decoder, GstBuffer *buffer)
return TRUE;
}
static void
push_back_buffer(GstVaapiDecoder *decoder, GstBuffer *buffer)
{
GstVaapiDecoderPrivate * const priv = decoder->priv;
GST_DEBUG("requeue encoded data buffer %p (%d bytes)",
buffer, GST_BUFFER_SIZE(buffer));
g_queue_push_head(priv->buffers, buffer);
}
static GstBuffer *
pop_buffer(GstVaapiDecoder *decoder)
{
@ -572,24 +561,6 @@ gst_vaapi_decoder_ensure_context(
return TRUE;
}
gboolean
gst_vaapi_decoder_push_buffer_sub(
GstVaapiDecoder *decoder,
GstBuffer *buffer,
guint offset,
guint size
)
{
GstBuffer *subbuffer;
subbuffer = gst_buffer_create_sub(buffer, offset, size);
if (!subbuffer)
return FALSE;
push_back_buffer(decoder, subbuffer);
return TRUE;
}
void
gst_vaapi_decoder_push_surface_proxy(
GstVaapiDecoder *decoder,

View file

@ -163,15 +163,6 @@ gst_vaapi_decoder_ensure_context(
GstVaapiContextInfo *cip
);
G_GNUC_INTERNAL
gboolean
gst_vaapi_decoder_push_buffer_sub(
GstVaapiDecoder *decoder,
GstBuffer *buffer,
guint offset,
guint size
);
G_GNUC_INTERNAL
void
gst_vaapi_decoder_push_surface_proxy(