mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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:
parent
7817f85759
commit
aca89aeeaa
1 changed files with 2 additions and 3 deletions
|
@ -349,8 +349,7 @@ caps_from_amc_format (GstAmcFormat * amc_format)
|
||||||
|
|
||||||
caps =
|
caps =
|
||||||
gst_caps_new_simple ("video/mpeg", "mpegversion", G_TYPE_INT, 4,
|
gst_caps_new_simple ("video/mpeg", "mpegversion", G_TYPE_INT, 4,
|
||||||
"systemstream", G_TYPE_BOOLEAN, FALSE,
|
"systemstream", G_TYPE_BOOLEAN, FALSE, NULL);
|
||||||
"parsed", G_TYPE_BOOLEAN, TRUE, 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_mpeg4_profile_to_string (amc_profile);
|
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;
|
const gchar *profile_string, *level_string;
|
||||||
|
|
||||||
caps =
|
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);
|
"stream-format", G_TYPE_STRING, "byte-stream", 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)) {
|
||||||
|
|
Loading…
Reference in a new issue