transcoder: Fix warning/error APIs
The GError pointers were actually not out-parameters. :( Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9407>
This commit is contained in:
parent
a03d5bedd3
commit
990c8b91a9
@ -11,6 +11,6 @@ variables:
|
||||
|
||||
CHECKS_TAG: '2025-05-24.0'
|
||||
|
||||
ABI_CHECK_TAG: '2025-07-16.0'
|
||||
ABI_CHECK_TAG: '2025-07-17.0'
|
||||
|
||||
WINDOWS_TAG: '2025-07-03.0'
|
||||
|
@ -439,9 +439,9 @@ See also #gst_transcoder_get_message_bus()</doc>
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
|
||||
<type name="Gst.Message" c:type="GstMessage*"/>
|
||||
</parameter>
|
||||
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<parameter name="error" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting error</doc>
|
||||
<type name="GLib.Error" c:type="GError*"/>
|
||||
<type name="GLib.Error" c:type="GError**"/>
|
||||
</parameter>
|
||||
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the error</doc>
|
||||
@ -494,9 +494,9 @@ See also #gst_transcoder_get_message_bus()</doc>
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
|
||||
<type name="Gst.Message" c:type="GstMessage*"/>
|
||||
</parameter>
|
||||
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<parameter name="error" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting warning</doc>
|
||||
<type name="GLib.Error" c:type="GError*"/>
|
||||
<type name="GLib.Error" c:type="GError**"/>
|
||||
</parameter>
|
||||
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the warning</doc>
|
||||
@ -680,9 +680,9 @@ stream.</doc>
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
|
||||
<type name="Gst.Message" c:type="GstMessage*"/>
|
||||
</parameter>
|
||||
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<parameter name="error" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting error</doc>
|
||||
<type name="GLib.Error" c:type="GError*"/>
|
||||
<type name="GLib.Error" c:type="GError**"/>
|
||||
</parameter>
|
||||
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the error</doc>
|
||||
@ -735,9 +735,9 @@ stream.</doc>
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">A #GstMessage</doc>
|
||||
<type name="Gst.Message" c:type="GstMessage*"/>
|
||||
</parameter>
|
||||
<parameter name="error" direction="out" caller-allocates="1" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<parameter name="error" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">the resulting warning</doc>
|
||||
<type name="GLib.Error" c:type="GError*"/>
|
||||
<type name="GLib.Error" c:type="GError**"/>
|
||||
</parameter>
|
||||
<parameter name="details" direction="out" caller-allocates="0" transfer-ownership="full">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/transcoder/gsttranscoder.c">(transfer full): A GstStructure containing extra details about the warning</doc>
|
||||
|
@ -1470,7 +1470,7 @@ gst_transcoder_message_parse_state (GstMessage * msg,
|
||||
* Since: 1.20
|
||||
*/
|
||||
void
|
||||
gst_transcoder_message_parse_error (GstMessage * msg, GError * error,
|
||||
gst_transcoder_message_parse_error (GstMessage * msg, GError ** error,
|
||||
GstStructure ** details)
|
||||
{
|
||||
PARSE_MESSAGE_FIELD (msg, GST_TRANSCODER_MESSAGE_DATA_ERROR, G_TYPE_ERROR,
|
||||
@ -1490,7 +1490,7 @@ gst_transcoder_message_parse_error (GstMessage * msg, GError * error,
|
||||
* Since: 1.20
|
||||
*/
|
||||
void
|
||||
gst_transcoder_message_parse_warning (GstMessage * msg, GError * error,
|
||||
gst_transcoder_message_parse_warning (GstMessage * msg, GError ** error,
|
||||
GstStructure ** details)
|
||||
{
|
||||
PARSE_MESSAGE_FIELD (msg, GST_TRANSCODER_MESSAGE_DATA_WARNING, G_TYPE_ERROR,
|
||||
|
@ -93,10 +93,10 @@ GST_TRANSCODER_API
|
||||
void gst_transcoder_message_parse_state (GstMessage * msg, GstTranscoderState * state);
|
||||
|
||||
GST_TRANSCODER_API
|
||||
void gst_transcoder_message_parse_error (GstMessage * msg, GError * error, GstStructure ** details);
|
||||
void gst_transcoder_message_parse_error (GstMessage * msg, GError ** error, GstStructure ** details);
|
||||
|
||||
GST_TRANSCODER_API
|
||||
void gst_transcoder_message_parse_warning (GstMessage * msg, GError * error, GstStructure ** details);
|
||||
void gst_transcoder_message_parse_warning (GstMessage * msg, GError ** error, GstStructure ** details);
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user