From 5061adaf5fde47adf80008c2145b9bdde53b69da Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sat, 19 Nov 2005 18:26:35 +0000 Subject: [PATCH] gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235. Original commit message from CVS: 2005-11-19 Andy Wingo * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235. --- ChangeLog | 2 ++ gst/gstpad.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f0785ac557..879e5e1f01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-11-19 Andy Wingo + * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235. + * gst/gstclock.h: * gst/gstclock.c (GstClock, GstClockClass): Change resolution to be a GstClockTime. diff --git a/gst/gstpad.h b/gst/gstpad.h index b1ff345232..102579d560 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -460,8 +460,6 @@ struct _GstPadClass { #define GST_PAD_IS_FLUSHING(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLUSHING)) #define GST_PAD_IS_IN_GETCAPS(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_IN_GETCAPS)) #define GST_PAD_IS_IN_SETCAPS(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_IN_SETCAPS)) -#define GST_PAD_IS_USABLE(pad) (GST_PAD_IS_LINKED (pad) && \ - !GST_PAD_IS_FLUSHING(pad) && !GST_PAD_IS_FLUSHING(GST_PAD_PEER (pad))) #define GST_PAD_IS_SRC(pad) (GST_PAD_DIRECTION(pad) == GST_PAD_SRC) #define GST_PAD_IS_SINK(pad) (GST_PAD_DIRECTION(pad) == GST_PAD_SINK) -- 2.34.1