basevideodecoder: remove unused code

This commit is contained in:
Mark Nauwelaerts 2011-03-28 08:56:59 +02:00
parent 8defa8cb49
commit 0230143cb8
2 changed files with 0 additions and 36 deletions

View file

@ -1123,35 +1123,6 @@ gst_base_video_decoder_skip_frame (GstBaseVideoDecoder * base_video_decoder,
return GST_FLOW_OK;
}
int
gst_base_video_decoder_get_height (GstBaseVideoDecoder * base_video_decoder)
{
GstVideoState *state = &GST_BASE_VIDEO_CODEC (base_video_decoder)->state;
return state->height;
}
int
gst_base_video_decoder_get_width (GstBaseVideoDecoder * base_video_decoder)
{
GstVideoState *state = &GST_BASE_VIDEO_CODEC (base_video_decoder)->state;
return state->width;
}
GstFlowReturn
gst_base_video_decoder_end_of_stream (GstBaseVideoDecoder * base_video_decoder,
GstBuffer * buffer)
{
if (GST_BASE_VIDEO_CODEC (base_video_decoder)->frames) {
GST_DEBUG_OBJECT (base_video_decoder, "EOS with frames left over");
}
return gst_pad_push (GST_BASE_VIDEO_CODEC_SRC_PAD (base_video_decoder),
buffer);
}
void
gst_base_video_decoder_add_to_frame (GstBaseVideoDecoder * base_video_decoder,
int n_bytes)

View file

@ -142,11 +142,6 @@ GType gst_base_video_decoder_get_type (void);
void gst_base_video_decoder_class_set_capture_pattern (GstBaseVideoDecoderClass *klass,
guint32 mask, guint32 pattern);
int gst_base_video_decoder_get_width (GstBaseVideoDecoder *coder);
int gst_base_video_decoder_get_height (GstBaseVideoDecoder *coder);
guint64 gst_base_video_decoder_get_timestamp_offset (GstBaseVideoDecoder *coder);
GstVideoFrame *gst_base_video_decoder_get_frame (GstBaseVideoDecoder *coder,
int frame_number);
GstVideoFrame *gst_base_video_decoder_get_oldest_frame (GstBaseVideoDecoder *coder);
@ -156,8 +151,6 @@ GstFlowReturn gst_base_video_decoder_finish_frame (GstBaseVideoDecoder *base_vid
GstVideoFrame *frame);
GstFlowReturn gst_base_video_decoder_skip_frame (GstBaseVideoDecoder * base_video_decoder,
GstVideoFrame * frame);
GstFlowReturn gst_base_video_decoder_end_of_stream (GstBaseVideoDecoder *base_video_decoder,
GstBuffer *buffer);
GstFlowReturn
gst_base_video_decoder_have_frame (GstBaseVideoDecoder *base_video_decoder);
GstVideoState * gst_base_video_decoder_get_state (GstBaseVideoDecoder *base_video_decoder);