compat: add compat define for UNEXPECTED
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Oct 2011 09:36:23 +0000 (11:36 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Oct 2011 09:36:23 +0000 (11:36 +0200)
gst/gstcompat.h

index cba5fc2..95667bd 100644 (file)
@@ -51,6 +51,7 @@ G_BEGIN_DECLS
 
 #define gst_buffer_new_and_alloc(s)            gst_buffer_new_allocate(NULL, s, 0)
 
+#define GST_FLOW_UNEXPECTED           GST_FLOW_EOS
 
 #ifndef GST_DISABLE_DEPRECATED