mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
videocodec: remove unused fields and code
This commit is contained in:
parent
4311909a53
commit
5af2f6f40e
2 changed files with 0 additions and 18 deletions
|
@ -100,9 +100,6 @@ struct _GstVideoState
|
|||
|
||||
int bytes_per_picture;
|
||||
|
||||
//GstSegment segment;
|
||||
|
||||
int picture_number;
|
||||
GstBuffer *codec_data;
|
||||
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue