mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
typefinding: add parsed=true to mp3 and mpeg2 video ES caps
Because we can, and that's also what we do for other formats.
This commit is contained in:
parent
cff9fccc69
commit
03d4a69df4
1 changed files with 3 additions and 2 deletions
|
@ -1420,7 +1420,8 @@ suggest:
|
||||||
g_return_if_fail (layer >= 1 && layer <= 3);
|
g_return_if_fail (layer >= 1 && layer <= 3);
|
||||||
|
|
||||||
gst_type_find_suggest_simple (tf, prob, "audio/mpeg",
|
gst_type_find_suggest_simple (tf, prob, "audio/mpeg",
|
||||||
"mpegversion", G_TYPE_INT, 1, "layer", G_TYPE_INT, layer, NULL);
|
"mpegversion", G_TYPE_INT, 1, "layer", G_TYPE_INT, layer,
|
||||||
|
"parsed", G_TYPE_BOOLEAN, FALSE, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2673,7 +2674,7 @@ mpeg_video_stream_type_find (GstTypeFind * tf, gpointer unused)
|
||||||
|
|
||||||
gst_type_find_suggest_simple (tf, probability, "video/mpeg",
|
gst_type_find_suggest_simple (tf, probability, "video/mpeg",
|
||||||
"systemstream", G_TYPE_BOOLEAN, FALSE,
|
"systemstream", G_TYPE_BOOLEAN, FALSE,
|
||||||
"mpegversion", G_TYPE_INT, 1, NULL);
|
"mpegversion", G_TYPE_INT, 1, "parsed", G_TYPE_BOOLEAN, FALSE, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue