From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id EF128429E4 for ; Fri, 10 Jun 2022 21:30:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 08EC368B49D; Sat, 11 Jun 2022 00:30:24 +0300 (EEST) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9BF9F68B052 for ; Sat, 11 Jun 2022 00:30:18 +0300 (EEST) Received: by mail-qk1-f177.google.com with SMTP id c83so157327qke.3 for ; Fri, 10 Jun 2022 14:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject:to :content-language; bh=7mnZqYtOHlZAZT3hLRGezmVkcvHONso4s38Bi0T5J4o=; b=K3LKMy256dLBab9i/uIS0zxLStW84Tmi4EoL5A0gPQ4Ziggh/+fP4jA1F7HsQMHvbt 3jQnpC0ljUL770xoTt09hRHQ8xC8mA4kGwFVGfjTl8Ko8iA0k6TSAy6qvYs6k2Rz+0E6 7pM75/zcOhDlDvC3eLvyJE2wPhQoZDVg76m/0L+mgSVRktYXzUwUYlt34gSHql6KYdNW +HD7+Q9XC33y5MK/1FMRYx2j+EjJs1zEloOt4Hz2ghLDnRUIznCxliBux9DsX0UQCLY2 XI+t5+jhIdu41bArNCyNtnhQcZbHruFrkZVBObxHuDq2M4IYNp2JT5dTkRGOb/mNSwE+ Aj+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:content-language; bh=7mnZqYtOHlZAZT3hLRGezmVkcvHONso4s38Bi0T5J4o=; b=Wjnpc3jGS8AAqYqWAe0V4zsXWQicrNhTXgsLesMX+tkei0AxyB0aVZpzdwH59Dxt5G 319QKwjxu6vVvbq5WFCt9UPdez6kpbitRGKGT3Hivcza+X5fJ5UwWZXwttvMNo+YbqMq n+9Ovz9M4cPGYIhKabpKBOgCHv4qCILRA/xPCSYuQq9gwwe0aGuuSExb7WfeZBxMWhQS 9rjAY5veid7JSjapLUi6YoGpGHLU15HNkJmOmW/mXLqFnb2+U00CB266k/40CsrBdOp2 82znFf4wNLcMVgr3ckiK6PbRVE5TtKbhucaOKDkex2CcYtcqAiSA+GiQHlqx+XFNQ7d0 ixAw== X-Gm-Message-State: AOAM532S3K8TzVGHUA3lRKj0KWuae4Y8hR9j2OF5q00F57mFaAwuyAzK Ohl/q3U5ddBd8XGL8ZWf+uK2ZwTq25c= X-Google-Smtp-Source: ABdhPJxSP4X3+eqpm3fx8Xx8ewSmh1xaiuVS3jvmIUHbRLcuRnQwDzBNASWfzem8Ag7Qzaf8fOifLg== X-Received: by 2002:a05:620a:f0e:b0:699:c94e:1413 with SMTP id v14-20020a05620a0f0e00b00699c94e1413mr31293682qkl.282.1654896616291; Fri, 10 Jun 2022 14:30:16 -0700 (PDT) Received: from [192.168.7.86] (c-68-40-205-18.hsd1.mi.comcast.net. [68.40.205.18]) by smtp.gmail.com with ESMTPSA id u16-20020a05620a455000b006a6ce613c7csm404470qkp.89.2022.06.10.14.30.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jun 2022 14:30:15 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------S5mD12zBCTR20xplomjhIUiX" Message-ID: Date: Fri, 10 Jun 2022 17:30:14 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 From: Jack Bruienne To: ffmpeg-devel@ffmpeg.org Content-Language: en-US Subject: [FFmpeg-devel] [PATCH] avcodec: Fix time reporting for DFPWM streams X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------S5mD12zBCTR20xplomjhIUiX Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit This adds the exact bits per sample for DFPWM to av_get_exact_bits_per_sample. Previously, the DTS and PTS were set to 0 because the codec never reported them, but adding this allows libavformat to automatically set DTS and PTS from the byte position of the stream. Signed-off-by: Jack Bruienne --- libavcodec/utils.c | 2 ++ 1 file changed, 2 insertions(+) --------------S5mD12zBCTR20xplomjhIUiX Content-Type: text/x-patch; charset=UTF-8; name="0001-avcodec-Fix-time-reporting-for-DFPWM-streams.patch" Content-Disposition: attachment; filename="0001-avcodec-Fix-time-reporting-for-DFPWM-streams.patch" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpYmF2Y29kZWMvdXRpbHMuYyBiL2xpYmF2Y29kZWMvdXRpbHMuYwpp bmRleCBlYjdlNTA1YS4uOTQwZjI1ZmUgMTAwNjQ0Ci0tLSBhL2xpYmF2Y29kZWMvdXRpbHMu YworKysgYi9saWJhdmNvZGVjL3V0aWxzLmMKQEAgLTQ5NSw2ICs0OTUsOCBAQCBjb25zdCBj aGFyICphdmNvZGVjX3Byb2ZpbGVfbmFtZShlbnVtIEFWQ29kZWNJRCBjb2RlY19pZCwgaW50 IHByb2ZpbGUpCiBpbnQgYXZfZ2V0X2V4YWN0X2JpdHNfcGVyX3NhbXBsZShlbnVtIEFWQ29k ZWNJRCBjb2RlY19pZCkKIHsKICAgICBzd2l0Y2ggKGNvZGVjX2lkKSB7CisgICAgY2FzZSBB Vl9DT0RFQ19JRF9ERlBXTToKKyAgICAgICAgcmV0dXJuIDE7CiAgICAgY2FzZSBBVl9DT0RF Q19JRF84U1ZYX0VYUDoKICAgICBjYXNlIEFWX0NPREVDX0lEXzhTVlhfRklCOgogICAgIGNh c2UgQVZfQ09ERUNfSURfQURQQ01fQVJHTzoKCg== --------------S5mD12zBCTR20xplomjhIUiX Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --------------S5mD12zBCTR20xplomjhIUiX--