mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
This commit is contained in:
parent
1f2bc4a684
commit
c27091d67f
1 changed files with 1 additions and 2 deletions
|
@ -378,8 +378,7 @@ caps_from_amc_format (GstAmcFormat * amc_format)
|
||||||
|
|
||||||
caps =
|
caps =
|
||||||
gst_caps_new_simple ("video/x-h264", "parsed", G_TYPE_BOOLEAN, TRUE,
|
gst_caps_new_simple ("video/x-h264", "parsed", G_TYPE_BOOLEAN, TRUE,
|
||||||
"stream-format", G_TYPE_STRING, "byte-stream",
|
"stream-format", G_TYPE_STRING, "byte-stream", NULL);
|
||||||
"alignment", G_TYPE_STRING, "au", NULL);
|
|
||||||
|
|
||||||
if (gst_amc_format_get_int (amc_format, "profile", &amc_profile, NULL)) {
|
if (gst_amc_format_get_int (amc_format, "profile", &amc_profile, NULL)) {
|
||||||
profile_string = gst_amc_avc_profile_to_string (amc_profile, NULL);
|
profile_string = gst_amc_avc_profile_to_string (amc_profile, NULL);
|
||||||
|
|
Loading…
Reference in a new issue