videocodec: remove unused fields and code
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 28 Mar 2011 08:51:27 +0000 (10:51 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 16 May 2011 18:32:21 +0000 (20:32 +0200)
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideoutils.c

index 53204e5..e8f9f45 100644 (file)
@@ -100,9 +100,6 @@ struct _GstVideoState
 
   int bytes_per_picture;
 
-  //GstSegment segment;
-
-  int picture_number;
   GstBuffer *codec_data;
 
 };
index d706394..3b8b5d1 100644 (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,