From 85218c69b9ac3383f4adf29de27ac0d9f6216897 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 24 May 2017 14:19:27 -0400 Subject: [PATCH] v4l2videoenc: Remove unused function --- sys/v4l2/gstv4l2videoenc.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c index f66744be56..4123e3b673 100644 --- a/sys/v4l2/gstv4l2videoenc.c +++ b/sys/v4l2/gstv4l2videoenc.c @@ -897,18 +897,6 @@ gst_v4l2_video_enc_subclass_init (gpointer g_class, gpointer data) } /* Probing functions */ -gboolean -gst_v4l2_is_video_enc (GstCaps * sink_caps, GstCaps * src_caps) -{ - gboolean ret = FALSE; - - if (gst_caps_is_subset (sink_caps, gst_v4l2_object_get_raw_caps ()) - && gst_caps_is_subset (src_caps, gst_v4l2_object_get_codec_caps ())) - ret = TRUE; - - return ret; -} - gboolean gst_v4l2_video_enc_register (GstPlugin * plugin, GType type, const char *codec, const gchar * basename, const gchar * device_path,