mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
vavp9enc: Preserve PTS and other frame metadata
See also https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4150 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6680>
This commit is contained in:
parent
ba443e7a64
commit
d42ee6e48c
1 changed files with 0 additions and 6 deletions
|
@ -2684,12 +2684,6 @@ gst_va_vp9_enc_prepare_output (GstVaBaseEnc * base,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
frame->pts =
|
||||
base->start_pts + base->frame_duration * frame_enc->total_frame_count;
|
||||
frame->dts =
|
||||
base->start_pts + base->frame_duration * base->output_frame_count;
|
||||
frame->duration = base->frame_duration;
|
||||
|
||||
if (frame_enc->flags & FRAME_FLAG_ALREADY_OUTPUTTED) {
|
||||
gsize sz;
|
||||
|
||||
|
|
Loading…
Reference in a new issue