diff options
-rw-r--r-- | sys/v4l2/gstv4l2videoenc.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/v4l2/gstv4l2videoenc.c b/sys/v4l2/gstv4l2videoenc.c index f66744be5..4123e3b67 100644 --- a/sys/v4l2/gstv4l2videoenc.c +++ b/sys/v4l2/gstv4l2videoenc.c @@ -898,18 +898,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, GstCaps * sink_caps, GstCaps * codec_caps, GstCaps * src_caps) |