From: Seungha Yang Date: Wed, 8 Apr 2020 08:07:36 +0000 (+0900) Subject: h264parse: Don't unconditionally append timecode meta X-Git-Tag: 1.19.3~507^2~2074 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fffbec11e407108e2d40b7d3881369c5fa776490;p=platform%2Fupstream%2Fgstreamer.git h264parse: Don't unconditionally append timecode meta If upstream buffer has its own timecode metatdata, don't append new timecode meta into the buffer. --- diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index f47998d..99658f4 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -2896,7 +2896,7 @@ gst_h264_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame) } #endif - { + if (!gst_buffer_get_video_time_code_meta (buffer)) { guint i = 0; for (i = 0; i < h264parse->num_clock_timestamp; i++) {