command-line-formatter: fix typos

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/123>
This commit is contained in:
Henry Wilkes 2019-10-29 16:29:24 +00:00 committed by GStreamer Merge Bot
parent a33a3b145d
commit d8dbf50603

View file

@ -109,7 +109,7 @@ static GESCommandLineOption options[] = {
"and media2 completely opaque.\n", "and media2 completely opaque.\n",
{ {
{ {
"uri", "n", 0, "asset-id", "uri", "u", 0, "asset-id",
"The URI of the media file." "The URI of the media file."
}, },
{ {
@ -202,7 +202,7 @@ static GESCommandLineOption options[] = {
"<title text>", "Adds a clip in the timeline.", NULL, "<title text>", "Adds a clip in the timeline.", NULL,
{ {
{ {
"text", "n", 0, NULL, "text", "t", 0, NULL,
"The text to be used as title." "The text to be used as title."
}, },
{ {
@ -403,7 +403,7 @@ static gboolean
_ges_command_line_formatter_add_title_clip (GESTimeline * timeline, _ges_command_line_formatter_add_title_clip (GESTimeline * timeline,
GstStructure * structure, GError ** error) GstStructure * structure, GError ** error)
{ {
if (!_cleanup_fields (options[TEST_CLIP].properties, structure, error)) if (!_cleanup_fields (options[TITLE].properties, structure, error))
return FALSE; return FALSE;
gst_structure_set (structure, "type", G_TYPE_STRING, "GESTitleClip", NULL); gst_structure_set (structure, "type", G_TYPE_STRING, "GESTitleClip", NULL);