summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/vaapi/gstvaapicodec_objects.c8
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_objects.c4
2 files changed, 0 insertions, 12 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapicodec_objects.c b/gst-libs/gst/vaapi/gstvaapicodec_objects.c
index 450e50eb..eddd7bd6 100644
--- a/gst-libs/gst/vaapi/gstvaapicodec_objects.c
+++ b/gst-libs/gst/vaapi/gstvaapicodec_objects.c
@@ -75,8 +75,6 @@ gst_vaapi_codec_object_new(const GstVaapiCodecObjectClass *object_class,
GstVaapiCodecObject *va_obj;
GstVaapiCodecObjectConstructorArgs args;
- g_return_val_if_fail(codec != NULL, NULL);
-
obj = gst_vaapi_mini_object_new0(&object_class->parent_class);
if (!obj)
return NULL;
@@ -139,8 +137,6 @@ gst_vaapi_iq_matrix_new(
{
GstVaapiCodecObject *object;
- g_return_val_if_fail(GST_VAAPI_IS_DECODER(decoder), NULL);
-
object = gst_vaapi_codec_object_new(
&GstVaapiIqMatrixClass,
GST_VAAPI_CODEC_BASE(decoder),
@@ -188,8 +184,6 @@ gst_vaapi_bitplane_new(GstVaapiDecoder *decoder, guint8 *data, guint data_size)
{
GstVaapiCodecObject *object;
- g_return_val_if_fail(GST_VAAPI_IS_DECODER(decoder), NULL);
-
object = gst_vaapi_codec_object_new(
&GstVaapiBitPlaneClass,
GST_VAAPI_CODEC_BASE(decoder),
@@ -241,8 +235,6 @@ gst_vaapi_huffman_table_new(
{
GstVaapiCodecObject *object;
- g_return_val_if_fail(GST_VAAPI_IS_DECODER(decoder), NULL);
-
object = gst_vaapi_codec_object_new(
&GstVaapiHuffmanTableClass,
GST_VAAPI_CODEC_BASE(decoder),
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_objects.c b/gst-libs/gst/vaapi/gstvaapidecoder_objects.c
index 541a0975..eb6a83f0 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_objects.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_objects.c
@@ -183,8 +183,6 @@ gst_vaapi_picture_new(
{
GstVaapiCodecObject *object;
- g_return_val_if_fail(GST_VAAPI_IS_DECODER(decoder), NULL);
-
object = gst_vaapi_codec_object_new(
&GstVaapiPictureClass,
GST_VAAPI_CODEC_BASE(decoder),
@@ -405,8 +403,6 @@ gst_vaapi_slice_new(
{
GstVaapiCodecObject *object;
- g_return_val_if_fail(GST_VAAPI_IS_DECODER(decoder), NULL);
-
object = gst_vaapi_codec_object_new(
&GstVaapiSliceClass,
GST_VAAPI_CODEC_BASE(decoder),