mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
jpegenc: remove meta copy in jpegenc
GstVideoEncoder takes care of the Meta copy, so there is no need in jpegenc Fixes http://gstreamer-devel.966125.n4.nabble.com/jpegenc-copy-GstMeta-twice-tt4693981.html Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/576>
This commit is contained in:
parent
e5feaa76ed
commit
1944564d76
1 changed files with 0 additions and 2 deletions
|
@ -280,8 +280,6 @@ gst_jpegenc_term_destination (j_compress_ptr cinfo)
|
|||
}
|
||||
|
||||
outbuf = gst_buffer_new ();
|
||||
gst_buffer_copy_into (outbuf, jpegenc->current_frame->input_buffer,
|
||||
GST_BUFFER_COPY_METADATA, 0, -1);
|
||||
gst_buffer_append_memory (outbuf, jpegenc->output_mem);
|
||||
jpegenc->output_mem = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue