diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-05-24 14:19:27 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-05-24 14:19:27 -0400 |
commit | 85218c69b9ac3383f4adf29de27ac0d9f6216897 (patch) | |
tree | de7c2ef2d31bedb8a7a8cfa03e08979a2d9488db | |
parent | 9f936c92446e25a3759136ad7abf5ac36db5b7b7 (diff) |
v4l2videoenc: Remove unused function
-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) |