Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1280>
return NULL;
}
+void
+gst_mf_media_type_release (IMFMediaType * media_type)
+{
+ if (media_type)
+ media_type->Release ();
+}
+
static gchar *
gst_mf_hr_to_string (HRESULT hr)
{
GstCaps * gst_mf_media_type_to_caps (IMFMediaType * media_type);
+void gst_mf_media_type_release (IMFMediaType * media_type);
+
gboolean _gst_mf_result (HRESULT hr,
GstDebugCategory * cat,
const gchar * file,
return TRUE;
}
-static void
-gst_mf_media_type_release (IMFMediaType * type)
-{
- if (type)
- type->Release ();
-}
-
static gboolean
gst_mf_video_enc_set_format (GstVideoEncoder * enc, GstVideoCodecState * state)
{