From 596dfbdf37d7f181f7a42a8329edb484db8c2f2d Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 25 Sep 2018 16:11:03 -0400 Subject: [PATCH] h264parse: Remove no-op assignment upstream was set to *out_ts, setting *out_ts to upstream here will have no effect. --- gst/videoparsers/gsth264parse.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index b844b7cdcc..381baac918 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -2403,8 +2403,6 @@ gst_h264_parse_get_timestamp (GstH264Parse * h264parse, GST_LOG_OBJECT (h264parse, "no frame data -> 0 duration"); *out_dur = 0; goto exit; - } else { - *out_ts = upstream; } if (!sps) { -- 2.34.1