videocodec: remove unused fields and code

This commit is contained in:
Mark Nauwelaerts 2011-03-28 10:51:27 +02:00
parent 4311909a53
commit 5af2f6f40e
2 changed files with 0 additions and 18 deletions

View file

@ -100,9 +100,6 @@ struct _GstVideoState
int bytes_per_picture;
//GstSegment segment;
int picture_number;
GstBuffer *codec_data;
};

View file

@ -29,21 +29,6 @@ GST_DEBUG_CATEGORY_EXTERN (basevideocodec_debug);
#define GST_CAT_DEFAULT basevideocodec_debug
#if 0
guint64
gst_base_video_convert_bytes_to_frames (GstVideoState * state, guint64 bytes)
{
return gst_util_uint64_scale_int (bytes, 1, state->bytes_per_picture);
}
guint64
gst_base_video_convert_frames_to_bytes (GstVideoState * state, guint64 frames)
{
return frames * state->bytes_per_picture;
}
#endif
gboolean
gst_base_video_rawvideo_convert (GstVideoState * state,
GstFormat src_format, gint64 src_value,