From 0530612e5f36ef3da21939599467209386abfaa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 7 Feb 2017 19:42:00 +0200 Subject: amcvideoenc: Encoded H264 is generally not AU aligned Claiming that it is, can cause h264parse to skip some parsing steps and the output stays unaligned. https://bugzilla.gnome.org/show_bug.cgi?id=774772 --- sys/androidmedia/gstamcvideoenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/androidmedia/gstamcvideoenc.c b/sys/androidmedia/gstamcvideoenc.c index 1742d444a..a4ebf45d7 100644 --- a/sys/androidmedia/gstamcvideoenc.c +++ b/sys/androidmedia/gstamcvideoenc.c @@ -376,8 +376,7 @@ caps_from_amc_format (GstAmcFormat * amc_format) caps = gst_caps_new_simple ("video/x-h264", "parsed", G_TYPE_BOOLEAN, TRUE, - "stream-format", G_TYPE_STRING, "byte-stream", - "alignment", G_TYPE_STRING, "au", NULL); + "stream-format", G_TYPE_STRING, "byte-stream", NULL); if (gst_amc_format_get_int (amc_format, "profile", &amc_profile, NULL)) { profile_string = gst_amc_avc_profile_to_string (amc_profile, NULL); -- cgit v1.2.1