videocodec: remove unused fields and code
This commit is contained in:
parent
4311909a53
commit
5af2f6f40e
@ -100,9 +100,6 @@ struct _GstVideoState
|
|||||||
|
|
||||||
int bytes_per_picture;
|
int bytes_per_picture;
|
||||||
|
|
||||||
//GstSegment segment;
|
|
||||||
|
|
||||||
int picture_number;
|
|
||||||
GstBuffer *codec_data;
|
GstBuffer *codec_data;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -29,21 +29,6 @@ GST_DEBUG_CATEGORY_EXTERN (basevideocodec_debug);
|
|||||||
#define GST_CAT_DEFAULT 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
|
gboolean
|
||||||
gst_base_video_rawvideo_convert (GstVideoState * state,
|
gst_base_video_rawvideo_convert (GstVideoState * state,
|
||||||
GstFormat src_format, gint64 src_value,
|
GstFormat src_format, gint64 src_value,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user