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:
Tim-Philipp Müller 2013-02-13 21:00:28 +00:00
parent cff9fccc69
commit 03d4a69df4

View file

@ -1420,7 +1420,8 @@ suggest:
g_return_if_fail (layer >= 1 && layer <= 3);
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",
"systemstream", G_TYPE_BOOLEAN, FALSE,
"mpegversion", G_TYPE_INT, 1, NULL);
"mpegversion", G_TYPE_INT, 1, "parsed", G_TYPE_BOOLEAN, FALSE, NULL);
}
}