splitmux-test: Parse error message
The test had a function to print the error, but was not parsing it. This was causing warning about dbg_info being used uninitialized. If the test was testing any errors, this would have crashed.
This commit is contained in:
parent
b8142bde07
commit
96b218d939
@ -106,6 +106,8 @@ dump_error (GstMessage * msg)
|
||||
|
||||
fail_unless (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR);
|
||||
|
||||
gst_message_parse_error (msg, &err, &dbg_info);
|
||||
|
||||
g_printerr ("ERROR from element %s: %s\n",
|
||||
GST_OBJECT_NAME (msg->src), err->message);
|
||||
g_printerr ("Debugging info: %s\n", (dbg_info) ? dbg_info : "none");
|
||||
|
Loading…
x
Reference in New Issue
Block a user