mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +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;
|
||||
}
|
||||
|
||||
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];
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -36,7 +36,6 @@ struct _GstVp9Picture
|
|||
{
|
||||
GstMiniObject parent;
|
||||
|
||||
GstClockTime pts;
|
||||
/* From GstVideoCodecFrame */
|
||||
guint32 system_frame_number;
|
||||
|
||||
|
|
Loading…
Reference in a new issue