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:
Ilya Konstantinov 2015-05-05 15:07:53 +02:00 committed by Sebastian Dröge
parent d24c29eec4
commit 1f7681dd0a

View file

@ -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;