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 E9B1642DF9 for ; Wed, 8 Jun 2022 15:38:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5802168B69B; Wed, 8 Jun 2022 18:38:41 +0300 (EEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10olkn2058.outbound.protection.outlook.com [40.92.41.58]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7722A68B4F1 for ; Wed, 8 Jun 2022 18:38:34 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VnfZkyxV89B+RF9WxBum2gMCzeFJwZ8bJGCKcKMm8FIyO/cuEnQJIqKSiBXDTc+y6xqK3FdFpFSUsegmpU+WwJTlp6YHYCSDkgZjZaWkRBDl+331seJkrvDPf2VAwCpX7sD0Y44YixoR1jCNb+OykEHRsRnccpnVoQ9rLfGDBGoqLQSl2UKSYDwy+CLclWbdy/RXKOgu+D2YY0VprDtQdnvNgFSltBbtlHElmWM8cV1znTi9soyjlBJB0WoElUVCmF/n0v0+nJ/pmeXtFpIxufDg+gYVAC1g2bRiy9+XvLTGNz+DBcrX/NtYmccE7szfIqZfRYodn4UyP1L71ni+4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CKGv04x8FB2xiOnZ/GExCGPYfqTTJlqz0aCE3izqsoM=; b=Hhc2oxkStH3EomGVmxKj8ZLl4j2StYrtCRwt1Yv3hBOqjDh1ylsbyPzqVaSzDHgcqKFD7fxfCp1n70R0bcPwKkwwjIU9B7WyNDXDZx0lt/vTdNO4ELXW5sjr/C7I+opzvhZayC25+aWoRHnSYH0pTfDKK3rFAYM7/82B5gSDhVavCHLHddZpb/298pPj3TO9/rf+RypsKW3wjyHMV9YxC1btTrcWhM7aT6HhZ8Tc0mfSv3CRiZgJO9PK7Zb1Dph5rQ0zi5+6o0hYkSKWuTLAXi5omUbrOfrLp7D1Ijh3VNt2ba3BcYRxcPxnRrIKnHtky1dbsZMjvcxwjVhMQnSz0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CKGv04x8FB2xiOnZ/GExCGPYfqTTJlqz0aCE3izqsoM=; b=VoxlyUsxySJr6NnrIJIx65tRu45axmxvy598rCC/jQB5us9Uw8LhibTCldDLsPcI5drHzDaek9xE1s72aM1wZLBZS4XW46XzQ0olKuvPkO7j5M4DeOAA4DAmE9hgqCvAm99UG+GCCHQs+nNuZ7lcs82sHsWB9BI6YPU2+DEGm73t6TokbG495xxOTyn896CeaA9h7+9xPEZ97i5CcR06ljWRkdfkQglND35F72b3ppX7FCPFymvG2dy5YgFk2UbUxbYGl+aVLPv6ViYJlrhqg1LjaXWqmwbLFCP2n2M80jJn+r51AtHBoKhGP36zhzSlb38vfUSAUT5VMvsMsZwUsg== Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:b::20) by CY5P223MB0489.NAMP223.PROD.OUTLOOK.COM (2603:10b6:930:27::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.19; Wed, 8 Jun 2022 15:38:31 +0000 Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::f144:21f9:cdb1:5c8a]) by DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::f144:21f9:cdb1:5c8a%7]) with mapi id 15.20.5314.019; Wed, 8 Jun 2022 15:38:31 +0000 From: Soft Works To: FFmpeg development discussions and patches Thread-Topic: [FFmpeg-devel] [PATCH] lavf/matroskadec: stop mapping text/plain attachments to AV_CODEC_ID_TEXT Thread-Index: AQHYemX/APXFdmsBaU2+kzHdFR1g661FChGFgAAOdROAAA+XjYAARmHNgAAGnRA= Date: Wed, 8 Jun 2022 15:38:31 +0000 Message-ID: References: <20220607115839.18515-1-anton@khirnov.net> =?utf-8?q?=3CDM8P223M?= =?utf-8?q?B03650454F09DE4D7C396CFB4BAA49=40DM8P223MB0365=2ENAMP223=2EPROD?= =?utf-8?q?=2EOUTLOOK=2ECOM=3E_=3CDM8P223MB0365397786EAF497BA5DC577BAA49=40D?= =?utf-8?q?M8P223MB0365=2ENAMP223=2EPROD=2EOUTLOOK=2ECOM=3E?= <165466902879.5088.14253593912707356675@lain.khirnov.net> =?utf-8?q?=3CDM8P?= =?utf-8?q?223MB036505AC3D4B249D6F66F803BAA49=40DM8P223MB0365=2ENAMP223=2EPR?= =?utf-8?q?OD=2EOUTLOOK=2ECOM=3E?= <165467214169.13099.10591659789295187077@lain> =?utf-8?q?=3CDM8P223MB0365F9?= =?utf-8?q?5C1E9F2C9C4222BDF6BAA49=40DM8P223MB0365=2ENAMP223=2EPROD=2EOUTLOO?= =?utf-8?q?K=2ECOM=3E?= <165467548837.5088.14494376448659698736@lain.khirnov.net> =?utf-8?q?=3CDM8P?= =?utf-8?q?223MB0365D3CD0072AAFA97FDC20ABAA49=40DM8P223MB0365=2ENAMP223=2EPR?= =?utf-8?q?OD=2EOUTLOOK=2ECOM=3E?= <165469059933.5088.676378891981541783@lain.khirnov.net> In-Reply-To: <165469059933.5088.676378891981541783@lain.khirnov.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [S01c3cDrlOfwUmWE7OVQXx5etDLJIol1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 204e1593-7fd3-43f8-fa30-08da4964f0c9 x-ms-traffictypediagnostic: CY5P223MB0489:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: u4Vdut2IsQafePuOpAlsS4RgBmcWcPEcQDlTorZgNhfp7JRG+RWLv1HrvHKONXkP3tMN5IkN+6MB4LFVUGE00ciUE7DZIq6LlkfGiJuJBmdaYOnYLn2UQbW7BJybM8mbBda5bhwTZjWk0ahV3sCb7Xmw+RXWU0OvDmlKMOcCzB0Ov2Ec+LYigjOxUjJvaDKKD8GN3DNuagbx3aVkPqW4ePFBFuS+FIFychOh9MyzAYYqBsOPNZ9rseu0pjmdDHXP845RFk0Hnv+lwhzWkbUW8EQuzdQqCs+hEDqJ8UU+/3omcWZitope2Jyu5HZLi+KDc33wb1XZ2J+ge8aNpQj2NFoGwt+VaWaPCqtv1yOOmb+0Rhgfsf7jkNxKirHI45ftDGXLoMORF9oRzoMq+YVuNp8qF2t2wVDa5uojZ6zVJunodwk3FlhkZoFRHuohi76+ITCHCiQOcYWcmvwiv8MRbFGh+rvlbJtZWpron1q99RaoeVXK4NtN9REHWoTCYL+KmvDltMB9Eo1ro/aBmcf40vav/FearVEZHiUFLioT/IkcN4HEVo9B9RPeksuzf/sdHREUyWgg+fZjEpDDmhOhKg== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RXNLOXhzemx1YUNhTUVTZUtzcHZqUjJkZVpTYlhrWi9wdytxNVhUTEVCUUcv?= =?utf-8?B?MEw5eFp5YnZkUGxmS1NDKzh2anRGMmwzb3FZSXVRajNIaTNReEJLME5hU3JD?= =?utf-8?B?bjRzRW5EQlA3R0Vqc2VlS2pyK25CUW1HeXF6YnhuSHJ6OHBpbGtDaGNVVWt0?= =?utf-8?B?OThVbjhzTkZrMDBkN2hKeHBFcUF2SGZQVE1xcU1od1IzU0tscD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ange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 204e1593-7fd3-43f8-fa30-08da4964f0c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2022 15:38:31.1359 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5P223MB0489 Subject: Re: [FFmpeg-devel] [PATCH] lavf/matroskadec: stop mapping text/plain attachments to AV_CODEC_ID_TEXT 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > -----Original Message----- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Wednesday, June 8, 2022 2:17 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] lavf/matroskadec: stop mapping text/plain > attachments to AV_CODEC_ID_TEXT > > Quoting Soft Works (2022-06-08 10:34:05) > > > > I don't think it's absurd, neither hypothetical to ask whether > somebody, > > > > would object a certain change --- BEFORE working spending time on it. > > > > > > It does makes sense to consider it, but at some point you have to accept > > > that ANY change you make can possibly break somebody's use case. So > > > being overly considerate means no useful development gets done. > > > > I very much agree to this. But I'm wondering how this can go together > > with versioning the code by 24 different numbers (8 libs * 3 integers). > > Even when you make a change that is undoubtedly correct and justified and > > right - when it changes behavior it breaks compatibility, even when the > > previous behavior was totally bad and wrong. > > > > Once you leave that path and replace it by some "custom" judgement with > regards > > to what's compatible and what's breaking and consider a change to be non- > breaking > > because it changes only "illegitimate" behavior, it's still a breaking and > > incompatible change. > > When it's not possible to rely on a precise and strict compatibility based > > on these version numbers with major, minor and micro for every single lib, > > and you say - nevermind, every change will break something, what are all > > those numbers for? They would be pointless, wouldn't they? > > Those numbers are not "code version", they are "API version". They do > not provide guarantees on specific code behavior, they provide > guarantees on what APIs are available and their semantics. > > > > When we add a new codec ID, what was previously "none" changes to an > > > actual codec name. Users for whom any change at all is a problem should > > > simply not update their binaries. > > > > How should those users know when the library version numbering doesn't > > indicate that breaking change? > > Tests. Lots of tests. > If any change in behaviour is a breaking change for you, then git commit > hash is the library version you should use. Not any change, but for a change in output, I'd say yes. I mean - isn't that what FATE is checking? And don't you say "breaks FATE" when the an output changes? After all, I'm still having a hard time in assimilating the logic and mindsets here. I'm obviously coming from a very different background and certain things just don't make sense to me, so I have to ask many questions, when I can't believe it, I ask once again, and again and re-assure that it's really that way that I can hardly believe. When the versions do not guarantee anything besides API compatibility, then there's almost not practical value in having them, because things can always go wrong no matter whether those versions match or not as you always need to test thoroughly. You would be able to rule out some combinations up-front, but that's it. Also, given that fact that matching versions do not guarantee anything of practical value, who would then still want to mix ffmpeg libs from different Git revisions based on those version numbers? I can't compute this ;-) But I also don't want to annoy you endlessly, so rather let me say thank you for your patience and for explaining your view on these things. Best wishes, sw _______________________________________________ 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".