mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
codecs: vp9decoder: Remove unused pts variable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1567>
This commit is contained in:
parent
08119ea515
commit
95db5e7182
3 changed files with 0 additions and 4 deletions
|
@ -384,7 +384,6 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
|
||||||
goto unmap_and_error;
|
goto unmap_and_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
picture->pts = GST_BUFFER_PTS (in_buf);
|
|
||||||
picture->size = 0;
|
picture->size = 0;
|
||||||
|
|
||||||
if (i == frame_idx_to_consume)
|
if (i == frame_idx_to_consume)
|
||||||
|
@ -398,7 +397,6 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
|
||||||
} else {
|
} else {
|
||||||
picture = gst_vp9_picture_new ();
|
picture = gst_vp9_picture_new ();
|
||||||
picture->frame_hdr = *cur_hdr;
|
picture->frame_hdr = *cur_hdr;
|
||||||
picture->pts = GST_BUFFER_PTS (in_buf);
|
|
||||||
|
|
||||||
picture->data = map.data + offset;
|
picture->data = map.data + offset;
|
||||||
picture->size = superframe_info.frame_sizes[i];
|
picture->size = superframe_info.frame_sizes[i];
|
||||||
|
|
|
@ -52,7 +52,6 @@ gst_vp9_picture_new (void)
|
||||||
GstVp9Picture *pic;
|
GstVp9Picture *pic;
|
||||||
|
|
||||||
pic = g_new0 (GstVp9Picture, 1);
|
pic = g_new0 (GstVp9Picture, 1);
|
||||||
pic->pts = GST_CLOCK_TIME_NONE;
|
|
||||||
|
|
||||||
gst_mini_object_init (GST_MINI_OBJECT_CAST (pic), 0,
|
gst_mini_object_init (GST_MINI_OBJECT_CAST (pic), 0,
|
||||||
GST_TYPE_VP9_PICTURE, NULL, NULL,
|
GST_TYPE_VP9_PICTURE, NULL, NULL,
|
||||||
|
|
|
@ -36,7 +36,6 @@ struct _GstVp9Picture
|
||||||
{
|
{
|
||||||
GstMiniObject parent;
|
GstMiniObject parent;
|
||||||
|
|
||||||
GstClockTime pts;
|
|
||||||
/* From GstVideoCodecFrame */
|
/* From GstVideoCodecFrame */
|
||||||
guint32 system_frame_number;
|
guint32 system_frame_number;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue