mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
Fix plugin initialization
This commit is contained in:
parent
77fbaae250
commit
6cc535581f
1 changed files with 2 additions and 5 deletions
|
@ -114,9 +114,9 @@ create_sink_caps (const GstAmcCodecInfo * codec_info)
|
|||
g_value_init (&va, GST_TYPE_LIST);
|
||||
g_value_init (&v, G_TYPE_STRING);
|
||||
g_value_set_string (&v, "raw");
|
||||
gst_value_array_append_value (&va, &v);
|
||||
gst_value_list_append_value (&va, &v);
|
||||
g_value_set_string (&v, "adts");
|
||||
gst_value_array_append_value (&va, &v);
|
||||
gst_value_list_append_value (&va, &v);
|
||||
g_value_unset (&v);
|
||||
|
||||
/* FIXME: Both mpegversions? */
|
||||
|
@ -131,9 +131,6 @@ create_sink_caps (const GstAmcCodecInfo * codec_info)
|
|||
for (j = 0; j < type->n_profile_levels; j++) {
|
||||
const gchar *profile;
|
||||
|
||||
g_value_init (&va, GST_TYPE_LIST);
|
||||
g_value_init (&v, G_TYPE_STRING);
|
||||
|
||||
profile =
|
||||
gst_amc_aac_profile_to_string (type->profile_levels[j].profile);
|
||||
|
||||
|
|
Loading…
Reference in a new issue