codecs: vp9decoder: Remove unused pts variable

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1567>
This commit is contained in:
Seungha Yang 2020-09-10 21:42:49 +09:00 committed by GStreamer Merge Bot
parent 08119ea515
commit 95db5e7182
3 changed files with 0 additions and 4 deletions

View file

@ -384,7 +384,6 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
goto unmap_and_error;
}
picture->pts = GST_BUFFER_PTS (in_buf);
picture->size = 0;
if (i == frame_idx_to_consume)
@ -398,7 +397,6 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
} else {
picture = gst_vp9_picture_new ();
picture->frame_hdr = *cur_hdr;
picture->pts = GST_BUFFER_PTS (in_buf);
picture->data = map.data + offset;
picture->size = superframe_info.frame_sizes[i];

View file

@ -52,7 +52,6 @@ gst_vp9_picture_new (void)
GstVp9Picture *pic;
pic = g_new0 (GstVp9Picture, 1);
pic->pts = GST_CLOCK_TIME_NONE;
gst_mini_object_init (GST_MINI_OBJECT_CAST (pic), 0,
GST_TYPE_VP9_PICTURE, NULL, NULL,

View file

@ -36,7 +36,6 @@ struct _GstVp9Picture
{
GstMiniObject parent;
GstClockTime pts;
/* From GstVideoCodecFrame */
guint32 system_frame_number;