aom: av1enc: Specify Temporal Unit alignment

Encoded bitstream consists of leading Temporal delimiter OBU
with frame, that's Temporal Unit alignment.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1471>
This commit is contained in:
Seungha Yang 2021-12-24 19:49:34 +09:00 committed by GStreamer Marge Bot
parent 769800ad5f
commit 454e8f58a8
2 changed files with 2 additions and 2 deletions

View file

@ -510,7 +510,7 @@
"presence": "always"
},
"src": {
"caps": "video/x-av1:\n",
"caps": "video/x-av1:\n alignment: tu\n",
"direction": "src",
"presence": "always"
}

View file

@ -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