diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-02-07 19:44:54 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-02-08 00:05:47 +0200 |
commit | aca89aeeaac3d86687b4680a3aca8f76382406a0 (patch) | |
tree | ea2632478e31f07c4ba866b74b7b8adf1cda6b4b /sys/androidmedia | |
parent | 7817f857592c15cd5c5c28709bcdda3163cc8694 (diff) |
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
Diffstat (limited to 'sys/androidmedia')
-rw-r--r-- | sys/androidmedia/gstamcvideoenc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/androidmedia/gstamcvideoenc.c b/sys/androidmedia/gstamcvideoenc.c index bfb925496..d457ce774 100644 --- a/sys/androidmedia/gstamcvideoenc.c +++ b/sys/androidmedia/gstamcvideoenc.c @@ -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)) { |