play: Fix error details parsing

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5828>
This commit is contained in:
Philippe Normand 2023-12-18 17:01:36 +00:00 committed by GStreamer Marge Bot
parent c481fe7059
commit c6c567e3e4

View file

@ -4716,8 +4716,8 @@ gst_play_message_parse_error (GstMessage * msg, GError ** error,
GstStructure ** details)
{
PARSE_MESSAGE_FIELD (msg, GST_PLAY_MESSAGE_DATA_ERROR, G_TYPE_ERROR, error);
PARSE_MESSAGE_FIELD (msg, GST_PLAY_MESSAGE_DATA_ERROR, GST_TYPE_STRUCTURE,
details);
PARSE_MESSAGE_FIELD (msg, GST_PLAY_MESSAGE_DATA_ERROR_DETAILS,
GST_TYPE_STRUCTURE, details);
}
/**