mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
encoding-target: set names on audio and video profiles
https://bugzilla.gnome.org/show_bug.cgi?id=652342
This commit is contained in:
parent
b3f40fb46e
commit
4073e00839
1 changed files with 4 additions and 0 deletions
|
@ -642,10 +642,14 @@ parse_encoding_profile (GKeyFile * in, gchar * parentprofilename,
|
||||||
*) sprof, variableframerate);
|
*) sprof, variableframerate);
|
||||||
gst_encoding_video_profile_set_pass ((GstEncodingVideoProfile *) sprof,
|
gst_encoding_video_profile_set_pass ((GstEncodingVideoProfile *) sprof,
|
||||||
pass);
|
pass);
|
||||||
|
gst_encoding_profile_set_name (sprof, pname);
|
||||||
|
gst_encoding_profile_set_description (sprof, description);
|
||||||
} else if (!g_strcmp0 (proftype, "audio")) {
|
} else if (!g_strcmp0 (proftype, "audio")) {
|
||||||
sprof =
|
sprof =
|
||||||
(GstEncodingProfile *) gst_encoding_audio_profile_new (formatcaps,
|
(GstEncodingProfile *) gst_encoding_audio_profile_new (formatcaps,
|
||||||
preset, restrictioncaps, presence);
|
preset, restrictioncaps, presence);
|
||||||
|
gst_encoding_profile_set_name (sprof, pname);
|
||||||
|
gst_encoding_profile_set_description (sprof, description);
|
||||||
} else
|
} else
|
||||||
GST_ERROR ("Unknown profile format '%s'", proftype);
|
GST_ERROR ("Unknown profile format '%s'", proftype);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue