From patchwork Fri Feb 22 20:40:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tristan Matthews X-Patchwork-Id: 12143 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id BC00F449094 for ; Fri, 22 Feb 2019 22:44:36 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 97073689D16; Fri, 22 Feb 2019 22:44:36 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ADBF4689731 for ; Fri, 22 Feb 2019 22:44:30 +0200 (EET) Received: by mail-qt1-f169.google.com with SMTP id v10so4054244qtp.8 for ; Fri, 22 Feb 2019 12:44:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=L2CdvK8fKsmCrQJM0tlKOE+sa1t4TPSyHSFcJpGdLZk=; b=NvsAQyCN+WvobpUaEv757TnV40Ak0vmNQsiWr5ZbGCvbjlr6hsNZ9LnSyZjRiWRGNw 6PxToDQayd9+Yl9YK6rwZih11RcVsq4lK/Nn8zR+TDQHgY+ni1JQZHyp7tvSuXku99AM /CJsJn8nPl3rupLX8Uimu8UQkUHhMVrhFPDEwZ/3v1YCN9CA9jzzw4MP4aCrSa6tNK+d xyn0o6bO/QkIH+TC4rFtBF3fhGM7Ku2RKkssjclB7qoNWmVwGiVAvH/yuTiM4wBBG5Ua SmrbXUVvvZdkAoP+sabwJIkH1XEZcpqgGN8mvCeJfhuwGpkeD2gmP6mVvnwlNxzGBmcD mPFw== X-Gm-Message-State: AHQUAuZUeVdNgwCyScUiGt0nmvtmSZze6ux1Lsxh/KeLia8ZGsf5Ce/5 erHlrI0Mtv1H8YlZ///b9ESrpB9x X-Google-Smtp-Source: AHgI3IbBcCaWVpLugQ4ZXlmJ6/ls3iI1z4U6/RgzSXXjNPCHb4kREBJif9OzvY4YoDt9ESKCfqgk7A== X-Received: by 2002:aed:23ae:: with SMTP id j43mr4592407qtc.318.1550867926267; Fri, 22 Feb 2019 12:38:46 -0800 (PST) Received: from bellini.nividic.net ([96.127.239.142]) by smtp.gmail.com with ESMTPSA id d50sm2234939qta.31.2019.02.22.12.38.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Feb 2019 12:38:45 -0800 (PST) From: Tristan Matthews To: ffmpeg-devel@ffmpeg.org Date: Fri, 22 Feb 2019 15:40:27 -0500 Message-Id: <20190222204027.26695-1-tmatth@videolan.org> X-Mailer: git-send-email 2.17.1 Subject: [FFmpeg-devel] [PATCH] rtpenc_chain: forward strict_std_compliance flags to rtp muxer X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Tristan Matthews MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" fixes: https://trac.ffmpeg.org/ticket/6713 --- libavformat/rtpenc_chain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/rtpenc_chain.c b/libavformat/rtpenc_chain.c index d3c1bc96dc..e7a4dffaba 100644 --- a/libavformat/rtpenc_chain.c +++ b/libavformat/rtpenc_chain.c @@ -59,6 +59,7 @@ int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s, /* Copy other stream parameters. */ rtpctx->streams[0]->sample_aspect_ratio = st->sample_aspect_ratio; rtpctx->flags |= s->flags & AVFMT_FLAG_BITEXACT; + rtpctx->strict_std_compliance = s->strict_std_compliance; /* Get the payload type from the codec */ if (st->id < RTP_PT_PRIVATE)