mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
vtdec: don't copy meta from input to output
Copying arbitrary metas is going to cause problems and this should really be handled by the base class. It overrides most other things already anyway, including timestamp and duration. Those are just set here now so we can insert the frame sorted into the queue. https://bugzilla.gnome.org/show_bug.cgi?id=748922
This commit is contained in:
parent
d24c29eec4
commit
1f7681dd0a
1 changed files with 0 additions and 2 deletions
|
@ -674,8 +674,6 @@ gst_vtdec_session_output_callback (void *decompression_output_ref_con,
|
|||
vtdec->texture_cache == NULL);
|
||||
gst_video_codec_state_unref (state);
|
||||
|
||||
gst_buffer_copy_into (buf, frame->input_buffer,
|
||||
GST_BUFFER_COPY_METADATA | GST_BUFFER_COPY_FLAGS, 0, -1);
|
||||
GST_BUFFER_PTS (buf) = pts.value;
|
||||
GST_BUFFER_DURATION (buf) = duration.value;
|
||||
frame->output_buffer = buf;
|
||||
|
|
Loading…
Reference in a new issue