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
@ -4676,14 +4676,14 @@ gst_play_message_parse_error (GstMessage * msg, GError ** error,
|
|||||||
* gst_play_message_parse_warning:
|
* gst_play_message_parse_warning:
|
||||||
* @msg: A #GstMessage
|
* @msg: A #GstMessage
|
||||||
* @error: (out) (optional) (transfer full): the resulting warning
|
* @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
|
* Parse the given error @msg and extract the corresponding #GError warning
|
||||||
*
|
*
|
||||||
* Since: 1.20
|
* Since: 1.20
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gst_play_message_parse_warning (GstMessage * msg, GError * error,
|
gst_play_message_parse_warning (GstMessage * msg, GError ** error,
|
||||||
GstStructure ** details)
|
GstStructure ** details)
|
||||||
{
|
{
|
||||||
PARSE_MESSAGE_FIELD (msg, GST_PLAY_MESSAGE_DATA_WARNING, G_TYPE_ERROR, error);
|
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);
|
void gst_play_message_parse_error (GstMessage *msg, GError **error, GstStructure **details);
|
||||||
|
|
||||||
GST_PLAY_API
|
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
|
GST_PLAY_API
|
||||||
void gst_play_message_parse_video_dimensions_changed (GstMessage *msg, guint *width, guint *height);
|
void gst_play_message_parse_video_dimensions_changed (GstMessage *msg, guint *width, guint *height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user