From fffbec11e407108e2d40b7d3881369c5fa776490 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 8 Apr 2020 17:07:36 +0900 Subject: [PATCH] h264parse: Don't unconditionally append timecode meta If upstream buffer has its own timecode metatdata, don't append new timecode meta into the buffer. --- gst/videoparsers/gsth264parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index f47998d8b0..99658f4e6d 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++) {