v4l2videoenc: Remove unused function

This commit is contained in:
Nicolas Dufresne 2017-05-24 14:19:27 -04:00
parent 9f936c9244
commit 85218c69b9

View file

@ -897,18 +897,6 @@ gst_v4l2_video_enc_subclass_init (gpointer g_class, gpointer data)
} }
/* Probing functions */ /* 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 gboolean
gst_v4l2_video_enc_register (GstPlugin * plugin, GType type, gst_v4l2_video_enc_register (GstPlugin * plugin, GType type,
const char *codec, const gchar * basename, const gchar * device_path, const char *codec, const gchar * basename, const gchar * device_path,