subtitleoverlay: Remove unused function
authorSebastian Dröge <sebastian@centricular.com>
Sun, 9 Feb 2014 22:17:03 +0000 (23:17 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 9 Feb 2014 22:17:03 +0000 (23:17 +0100)
gst/playback/gstsubtitleoverlay.c

index 76ff345..476f113 100644 (file)
@@ -220,18 +220,6 @@ static const gchar *const _sub_pad_names[] = { "subpicture", "subpicture_sink",
   "subtitle_sink", "subtitle"
 };
 
-static inline gboolean
-_is_raw_video (GstStructure * s)
-{
-  const gchar *name;
-
-  name = gst_structure_get_name (s);
-
-  if (g_str_equal (name, "video/x-raw"))
-    return TRUE;
-  return FALSE;
-}
-
 static gboolean
 _is_video_pad (GstPad * pad, gboolean * hw_accelerated)
 {