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:
Soohyun Lee 2020-04-29 10:02:11 +09:00 committed by GStreamer Merge Bot
parent ea25788fe1
commit 1271047683

View file

@ -1288,7 +1288,7 @@ main (int argc, char **argv)
g_option_context_add_group (ctx, gst_init_get_option_group ()); g_option_context_add_group (ctx, gst_init_get_option_group ());
if (!g_option_context_parse (ctx, &argc, &argv, &err)) { if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
g_print ("Error initializing: %s\n", err->message); g_print ("Error initializing: %s\n", err->message);
g_clear_error (&amp;err); g_clear_error (&err);
g_option_context_free (ctx); g_option_context_free (ctx);
return 1; return 1;
} }