mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 02:46:33 +00:00
Fix error on the pipeline-manipulation.md's sample code
amp& was inserted in the g_clear_error(). It caused a compile error, so I removed it for making complie success. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/85>
This commit is contained in:
parent
ea25788fe1
commit
1271047683
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ main (int argc, char **argv)
|
|||
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
||||
if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
|
||||
g_print ("Error initializing: %s\n", err->message);
|
||||
g_clear_error (&err);
|
||||
g_clear_error (&err);
|
||||
g_option_context_free (ctx);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue