Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 907291 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/ from handbrake-1.7.3
A14-avcodec-add-ambient-viewing-environment-packet-side-.patch (text/plain), 3.00 KB, created by
mehw
on 2024-10-29 23:50:39 UTC
(
hide
)
Description:
/etc/portage/patches/media-video/ffmpeg-6.1.2/ from handbrake-1.7.3
Filename:
MIME Type:
Creator:
mehw
Created:
2024-10-29 23:50:39 UTC
Size:
3.00 KB
patch
obsolete
>From d0f915c761cfba6ae46d20fa9b995311ef0f0727 Mon Sep 17 00:00:00 2001 >From: Damiano Galassi <damiog@gmail.com> >Date: Fri, 3 Nov 2023 13:43:50 +0100 >Subject: [PATCH 1/2] avcodec: add ambient viewing environment packet side > data. > >--- > fftools/ffprobe.c | 3 +++ > libavcodec/avpacket.c | 1 + > libavcodec/decode.c | 1 + > libavcodec/packet.h | 7 +++++++ > 4 files changed, 12 insertions(+) > >diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c >index 71f6cc3a74..58b07ac20c 100644 >--- a/fftools/ffprobe.c >+++ b/fftools/ffprobe.c >@@ -2392,6 +2392,9 @@ static void print_pkt_side_data(WriterContext *w, > AVContentLightMetadata *metadata = (AVContentLightMetadata *)sd->data; > print_int("max_content", metadata->MaxCLL); > print_int("max_average", metadata->MaxFALL); >+ } else if (sd->type == AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT) { >+ print_ambient_viewing_environment( >+ w, (const AVAmbientViewingEnvironment *)sd->data); > } else if (sd->type == AV_PKT_DATA_DYNAMIC_HDR10_PLUS) { > AVDynamicHDRPlus *metadata = (AVDynamicHDRPlus *)sd->data; > print_dynamic_hdr10_plus(w, metadata); >diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c >index e29725c2d2..9f3e9d7d7c 100644 >--- a/libavcodec/avpacket.c >+++ b/libavcodec/avpacket.c >@@ -301,6 +301,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type) > case AV_PKT_DATA_DOVI_CONF: return "DOVI configuration record"; > case AV_PKT_DATA_S12M_TIMECODE: return "SMPTE ST 12-1:2014 timecode"; > case AV_PKT_DATA_DYNAMIC_HDR10_PLUS: return "HDR10+ Dynamic Metadata (SMPTE 2094-40)"; >+ case AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT:return "Ambient viewing environment"; > } > return NULL; > } >diff --git a/libavcodec/decode.c b/libavcodec/decode.c >index ad39021354..6049fbb2dd 100644 >--- a/libavcodec/decode.c >+++ b/libavcodec/decode.c >@@ -1434,6 +1434,7 @@ static const struct { > { AV_PKT_DATA_CONTENT_LIGHT_LEVEL, AV_FRAME_DATA_CONTENT_LIGHT_LEVEL }, > { AV_PKT_DATA_ICC_PROFILE, AV_FRAME_DATA_ICC_PROFILE }, > { AV_PKT_DATA_DYNAMIC_HDR10_PLUS, AV_FRAME_DATA_DYNAMIC_HDR_PLUS }, >+ { AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT,AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT }, > }; > > int ff_decode_frame_props_from_pkt(const AVCodecContext *avctx, >diff --git a/libavcodec/packet.h b/libavcodec/packet.h >index b19409b719..f5e0751497 100644 >--- a/libavcodec/packet.h >+++ b/libavcodec/packet.h >@@ -299,6 +299,13 @@ enum AVPacketSideDataType { > */ > AV_PKT_DATA_DYNAMIC_HDR10_PLUS, > >+ /** >+ * Ambient viewing environment metadata, as defined by H.274.. This metadata >+ * should be associated with a video stream and contains data in the form >+ * of the AVAmbientViewingEnvironment struct. >+ */ >+ AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT, >+ > /** > * The number of side data types. > * This is not part of the public API/ABI in the sense that it may >-- >2.39.3 (Apple Git-145) >
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