mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gstplay: Fix warning parsing API
The GError is an out parameter, so should be a ** parameter, like the details parameter. See also #1063 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1869>
This commit is contained in:
parent
a63d1cf4c4
commit
027f4a56c0
2 changed files with 3 additions and 3 deletions
|
@ -4676,14 +4676,14 @@ gst_play_message_parse_error (GstMessage * msg, GError ** error,
|
|||
* gst_play_message_parse_warning:
|
||||
* @msg: A #GstMessage
|
||||
* @error: (out) (optional) (transfer full): the resulting warning
|
||||
* @details: (out) (optional) (nullable) (transfer full): A GstStructure containing extra details about the error
|
||||
* @details: (out) (optional) (nullable) (transfer full): A #GstStructure containing additional details about the warning
|
||||
*
|
||||
* Parse the given error @msg and extract the corresponding #GError warning
|
||||
*
|
||||
* Since: 1.20
|
||||
*/
|
||||
void
|
||||
gst_play_message_parse_warning (GstMessage * msg, GError * error,
|
||||
gst_play_message_parse_warning (GstMessage * msg, GError ** error,
|
||||
GstStructure ** details)
|
||||
{
|
||||
PARSE_MESSAGE_FIELD (msg, GST_PLAY_MESSAGE_DATA_WARNING, G_TYPE_ERROR, error);
|
||||
|
|
|
@ -423,7 +423,7 @@ GST_PLAY_API
|
|||
void gst_play_message_parse_error (GstMessage *msg, GError **error, GstStructure **details);
|
||||
|
||||
GST_PLAY_API
|
||||
void gst_play_message_parse_warning (GstMessage *msg, GError *error, GstStructure **details);
|
||||
void gst_play_message_parse_warning (GstMessage *msg, GError **error, GstStructure **details);
|
||||
|
||||
GST_PLAY_API
|
||||
void gst_play_message_parse_video_dimensions_changed (GstMessage *msg, guint *width, guint *height);
|
||||
|
|
Loading…
Reference in a new issue