amcvideoenc: Encoder output is generally not properly parsed

Don't claim it is and let h264parse and other parsers do their job.

https://bugzilla.gnome.org/show_bug.cgi?id=774772
This commit is contained in:
Sebastian Dröge 2017-02-07 19:44:54 +02:00
parent 7817f85759
commit aca89aeeaa

View file

@ -349,8 +349,7 @@ caps_from_amc_format (GstAmcFormat * amc_format)
caps =
gst_caps_new_simple ("video/mpeg", "mpegversion", G_TYPE_INT, 4,
"systemstream", G_TYPE_BOOLEAN, FALSE,
"parsed", G_TYPE_BOOLEAN, TRUE, NULL);
"systemstream", G_TYPE_BOOLEAN, FALSE, NULL);
if (gst_amc_format_get_int (amc_format, "profile", &amc_profile, NULL)) {
profile_string = gst_amc_mpeg4_profile_to_string (amc_profile);
@ -377,7 +376,7 @@ caps_from_amc_format (GstAmcFormat * amc_format)
const gchar *profile_string, *level_string;
caps =
gst_caps_new_simple ("video/x-h264", "parsed", G_TYPE_BOOLEAN, TRUE,
gst_caps_new_simple ("video/x-h264",
"stream-format", G_TYPE_STRING, "byte-stream", NULL);
if (gst_amc_format_get_int (amc_format, "profile", &amc_profile, NULL)) {