Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 907290 Details for
Bug 917591
media-video/handbrake-1.7.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/portage/patches/media-video/ffmpeg-6.1.2/ to compile handbrake-1.8.2
0007-avformat-matroska-use-named-constants-for-ITU-T-T.35.patch (text/plain), 2.24 KB, created by
mehw
on 2024-10-29 23:46:35 UTC
(
hide
)
Description:
/etc/portage/patches/media-video/ffmpeg-6.1.2/ to compile handbrake-1.8.2
Filename:
MIME Type:
Creator:
mehw
Created:
2024-10-29 23:46:35 UTC
Size:
2.24 KB
patch
obsolete
>From 53dd31497b45b651f06bb89cfabd122f97bce38f Mon Sep 17 00:00:00 2001 >From: James Almer <jamrial@gmail.com> >Date: Mon, 11 Mar 2024 12:06:56 -0300 >Subject: [PATCH] avformat/matroska: use named constants for ITU-T T.35 > metadata > >Signed-off-by: James Almer <jamrial@gmail.com> >--- > libavformat/matroskadec.c | 4 +++- > libavformat/matroskaenc.c | 5 +++-- > 2 files changed, 6 insertions(+), 3 deletions(-) > >diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c >index a35ca6ca5b..8897fd622c 100644 >--- a/libavformat/matroskadec.c >+++ b/libavformat/matroskadec.c >@@ -54,6 +54,7 @@ > #include "libavcodec/bytestream.h" > #include "libavcodec/defs.h" > #include "libavcodec/flac.h" >+#include "libavcodec/itut35.h" > #include "libavcodec/mpeg4audio.h" > #include "libavcodec/packet_internal.h" > >@@ -3884,7 +3885,8 @@ static int matroska_parse_block_additional(MatroskaDemuxContext *matroska, > country_code = bytestream2_get_byteu(&bc); > provider_code = bytestream2_get_be16u(&bc); > >- if (country_code != 0xB5 || provider_code != 0x3C) >+ if (country_code != ITU_T_T35_COUNTRY_CODE_US || >+ provider_code != ITU_T_T35_PROVIDER_CODE_SMTPE) > break; // ignore > > provider_oriented_code = bytestream2_get_be16u(&bc); >diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c >index 8ba0690f90..db41d3d1c2 100644 >--- a/libavformat/matroskaenc.c >+++ b/libavformat/matroskaenc.c >@@ -63,6 +63,7 @@ > #include "libavcodec/codec_desc.h" > #include "libavcodec/codec_par.h" > #include "libavcodec/defs.h" >+#include "libavcodec/itut35.h" > #include "libavcodec/xiph.h" > #include "libavcodec/mpeg4audio.h" > >@@ -2824,8 +2825,8 @@ static int mkv_write_block(void *logctx, MatroskaMuxContext *mkv, > uint8_t *payload = t35_buf; > size_t payload_size = sizeof(t35_buf) - 6; > >- bytestream_put_byte(&payload, 0xB5); // country_code >- bytestream_put_be16(&payload, 0x3C); // provider_code >+ bytestream_put_byte(&payload, ITU_T_T35_COUNTRY_CODE_US); >+ bytestream_put_be16(&payload, ITU_T_T35_PROVIDER_CODE_SMTPE); > bytestream_put_be16(&payload, 0x01); // provider_oriented_code > bytestream_put_byte(&payload, 0x04); // application_identifier > >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 917591
:
875262
|
875263
|
886545
|
887851
|
887852
|
887875
|
887876
|
887877
|
887878
|
887993
|
889164
|
907281
|
907282
|
907283
|
907284
|
907285
|
907286
|
907287
|
907288
|
907289
| 907290 |
907291
|
907292
|
907293
|
907294
|
907295
|
907296
|
907297
|
907298