Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 907289 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
0006-avcodec-libdav1d-use-named-constants-for-ITU-T-T.35-.patch (text/plain), 2.44 KB, created by
mehw
on 2024-10-29 23:46:06 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:06 UTC
Size:
2.44 KB
patch
obsolete
>From 61519cc6546d4bb590d036fdd3b5ecf346080b69 Mon Sep 17 00:00:00 2001 >From: James Almer <jamrial@gmail.com> >Date: Mon, 11 Mar 2024 11:01:04 -0300 >Subject: [PATCH] avcodec/libdav1d: use named constants for ITU-T T.35 metadata > >Signed-off-by: James Almer <jamrial@gmail.com> >--- > libavcodec/libdav1d.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c >index 1aa2d1f343..597944d88d 100644 >--- a/libavcodec/libdav1d.c >+++ b/libavcodec/libdav1d.c >@@ -37,6 +37,7 @@ > #include "decode.h" > #include "dovi_rpu.h" > #include "internal.h" >+#include "itut35.h" > > #define FF_DAV1D_VERSION_AT_LEAST(x,y) \ > (DAV1D_API_VERSION_MAJOR > (x) || DAV1D_API_VERSION_MAJOR == (x) && DAV1D_API_VERSION_MINOR >= (y)) >@@ -542,7 +543,7 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame) > > provider_code = bytestream2_get_be16(&gb); > switch (provider_code) { >- case 0x31: { // atsc_provider_code >+ case ITU_T_T35_PROVIDER_CODE_ATSC: { > uint32_t user_identifier = bytestream2_get_be32(&gb); > switch (user_identifier) { > case MKBETAG('G', 'A', '9', '4'): { // closed captions >@@ -566,12 +567,12 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame) > } > break; > } >- case 0x3C: { // smpte_provider_code >+ case ITU_T_T35_PROVIDER_CODE_SMTPE: { > AVDynamicHDRPlus *hdrplus; > int provider_oriented_code = bytestream2_get_be16(&gb); > int application_identifier = bytestream2_get_byte(&gb); > >- if (itut_t35->country_code != 0xB5 || >+ if (itut_t35->country_code != ITU_T_T35_COUNTRY_CODE_US || > provider_oriented_code != 1 || application_identifier != 4) > break; > >@@ -587,9 +588,10 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame) > goto fail; > break; > } >- case 0x3B: { // dolby_provider_code >+ case ITU_T_T35_PROVIDER_CODE_DOLBY: { > int provider_oriented_code = bytestream2_get_be32(&gb); >- if (itut_t35->country_code != 0xB5 || provider_oriented_code != 0x800) >+ if (itut_t35->country_code != ITU_T_T35_COUNTRY_CODE_US || >+ provider_oriented_code != 0x800) > break; > > res = ff_dovi_rpu_parse(&dav1d->dovi, gb.buffer, gb.buffer_end - gb.buffer); >-- >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