mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
basevideoencoder: remove unused code
This commit is contained in:
parent
404f491c19
commit
8aa9d83eb4
2 changed files with 0 additions and 29 deletions
|
@ -604,37 +604,12 @@ gst_base_video_encoder_finish_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
gst_base_video_encoder_get_height (GstBaseVideoEncoder * base_video_encoder)
|
||||
{
|
||||
return GST_BASE_VIDEO_CODEC (base_video_encoder)->state.height;
|
||||
}
|
||||
|
||||
int
|
||||
gst_base_video_encoder_get_width (GstBaseVideoEncoder * base_video_encoder)
|
||||
{
|
||||
return GST_BASE_VIDEO_CODEC (base_video_encoder)->state.width;
|
||||
}
|
||||
|
||||
const GstVideoState *
|
||||
gst_base_video_encoder_get_state (GstBaseVideoEncoder * base_video_encoder)
|
||||
{
|
||||
return &GST_BASE_VIDEO_CODEC (base_video_encoder)->state;
|
||||
}
|
||||
|
||||
GstFlowReturn
|
||||
gst_base_video_encoder_end_of_stream (GstBaseVideoEncoder * base_video_encoder,
|
||||
GstBuffer * buffer)
|
||||
{
|
||||
|
||||
if (GST_BASE_VIDEO_CODEC (base_video_encoder)->frames) {
|
||||
GST_WARNING_OBJECT (base_video_encoder, "EOS with frames left over");
|
||||
}
|
||||
|
||||
return gst_pad_push (GST_BASE_VIDEO_CODEC_SRC_PAD (base_video_encoder),
|
||||
buffer);
|
||||
}
|
||||
|
||||
void
|
||||
gst_base_video_encoder_set_latency (GstBaseVideoEncoder * base_video_encoder,
|
||||
GstClockTime min_latency, GstClockTime max_latency)
|
||||
|
|
|
@ -105,15 +105,11 @@ struct _GstBaseVideoEncoderClass
|
|||
|
||||
GType gst_base_video_encoder_get_type (void);
|
||||
|
||||
int gst_base_video_encoder_get_width (GstBaseVideoEncoder *coder);
|
||||
int gst_base_video_encoder_get_height (GstBaseVideoEncoder *coder);
|
||||
const GstVideoState *gst_base_video_encoder_get_state (GstBaseVideoEncoder *coder);
|
||||
|
||||
GstVideoFrame *gst_base_video_encoder_get_oldest_frame (GstBaseVideoEncoder *coder);
|
||||
GstFlowReturn gst_base_video_encoder_finish_frame (GstBaseVideoEncoder *base_video_encoder,
|
||||
GstVideoFrame *frame);
|
||||
GstFlowReturn gst_base_video_encoder_end_of_stream (GstBaseVideoEncoder *base_video_encoder,
|
||||
GstBuffer *buffer);
|
||||
|
||||
void gst_base_video_encoder_set_latency (GstBaseVideoEncoder *base_video_encoder,
|
||||
GstClockTime min_latency, GstClockTime max_latency);
|
||||
|
|
Loading…
Reference in a new issue