rtp: register tag image types
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 12 Apr 2013 15:16:41 +0000 (16:16 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 12 Apr 2013 15:18:42 +0000 (16:18 +0100)
The rtpgstdepay needs the type to be available in order to deserialize the
event.

gst/rtp/gstrtp.c

index 1c6461b..d317156 100644 (file)
@@ -21,6 +21,8 @@
 #include "config.h"
 #endif
 
+#include <gst/tag/tag.h>
+
 #include "gstrtpac3depay.h"
 #include "gstrtpac3pay.h"
 #include "gstrtpbvdepay.h"
@@ -97,6 +99,8 @@
 static gboolean
 plugin_init (GstPlugin * plugin)
 {
+  gst_tag_image_type_get_type ();
+
   if (!gst_rtp_ac3_depay_plugin_init (plugin))
     return FALSE;