[farsight2/master] Define the FS_DIRECTION_* flags with shifts in the right direction
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:40 PST 2008
---
gst-libs/gst/farsight/fs-stream.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-stream.h b/gst-libs/gst/farsight/fs-stream.h
index 439fcb1..b39d3a1 100644
--- a/gst-libs/gst/farsight/fs-stream.h
+++ b/gst-libs/gst/farsight/fs-stream.h
@@ -46,8 +46,8 @@ G_BEGIN_DECLS
typedef enum
{
FS_DIRECTION_NONE = 0,
- FS_DIRECTION_SEND = 1,
- FS_DIRECTION_RECV = 1>>1,
+ FS_DIRECTION_SEND = 1<<0,
+ FS_DIRECTION_RECV = 1<<1,
FS_DIRECTION_BOTH = FS_DIRECTION_SEND | FS_DIRECTION_RECV
} FsStreamDirection;
--
1.5.6.5
More information about the farsight-commits
mailing list