amcvideoenc: Encoder output is generally not properly parsed
authorSebastian Dröge <sebastian@centricular.com>
Tue, 7 Feb 2017 17:44:54 +0000 (19:44 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 8 Feb 2017 18:38:09 +0000 (20:38 +0200)
Don't claim it is and let h264parse and other parsers do their job.

https://bugzilla.gnome.org/show_bug.cgi?id=774772

sys/androidmedia/gstamcvideoenc.c

index a4ebf45d7625c5bdfc9ca6849920da5657860fa2..ba27c7c66348f02cef85583dc18edad969009769 100644 (file)
@@ -347,8 +347,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);
@@ -375,7 +374,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)) {