From 454e8f58a85b5bb7acf66cb8db926c06c9a7aa72 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Fri, 24 Dec 2021 19:49:34 +0900 Subject: [PATCH] aom: av1enc: Specify Temporal Unit alignment Encoded bitstream consists of leading Temporal delimiter OBU with frame, that's Temporal Unit alignment. Part-of: --- subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json | 2 +- subprojects/gst-plugins-bad/ext/aom/gstav1enc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json index 0e66d7b..9332d2c 100644 --- a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json @@ -510,7 +510,7 @@ "presence": "always" }, "src": { - "caps": "video/x-av1:\n", + "caps": "video/x-av1:\n alignment: tu\n", "direction": "src", "presence": "always" } diff --git a/subprojects/gst-plugins-bad/ext/aom/gstav1enc.c b/subprojects/gst-plugins-bad/ext/aom/gstav1enc.c index f97b6ca..a9f5718 100644 --- a/subprojects/gst-plugins-bad/ext/aom/gstav1enc.c +++ b/subprojects/gst-plugins-bad/ext/aom/gstav1enc.c @@ -218,7 +218,7 @@ static GstStaticPadTemplate gst_av1_enc_src_pad_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("video/x-av1") + GST_STATIC_CAPS ("video/x-av1, alignment = (string) tu") ); static void -- 2.7.4