summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-09 14:40:00 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-11-16 16:49:15 +0100
commitc55cc71eaf8c16f3ec9f85a0173cef41639e18ae (patch)
tree7bfe3bae700ec77a903ceb3af4b8801f34afd1a1
parent593d31087686abfb5766a7443ea6ab10ffc2bd8b (diff)
decoder: drop unused functions.
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder.c29
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_priv.h9
2 files changed, 0 insertions, 38 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c
index d2ee86cb..085b3e00 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder.c
@@ -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,
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_priv.h b/gst-libs/gst/vaapi/gstvaapidecoder_priv.h
index c753c27f..7ab4906d 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_priv.h
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_priv.h
@@ -164,15 +164,6 @@ gst_vaapi_decoder_ensure_context(
);
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(
GstVaapiDecoder *decoder,