Original commit message from CVS:
patch from jim thornton <jthornton@parc.com>:
Buffer flag symbols are enum values, so |'ing together doesn't do the right
thing, must use GST_BUFFER_FLAG_SET macro
-Subproject commit 38267abf56a3428093cea71429dca6a24a927547
+Subproject commit 6148068f2318e85d8e66df485342b630d8fb49ac
retval = madvise(GST_BUFFER_DATA(buf),GST_BUFFER_SIZE(buf),MADV_SEQUENTIAL);
#endif
/* fill in the rest of the fields */
- GST_BUFFER_FLAGS(buf) = GST_BUFFER_READONLY | GST_BUFFER_ORIGINAL;
+ GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_READONLY;
+ GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_ORIGINAL;
GST_BUFFER_SIZE(buf) = size;
GST_BUFFER_MAXSIZE(buf) = size;
GST_BUFFER_OFFSET(buf) = offset;
retval = madvise(GST_BUFFER_DATA(buf),GST_BUFFER_SIZE(buf),MADV_SEQUENTIAL);
#endif
/* fill in the rest of the fields */
- GST_BUFFER_FLAGS(buf) = GST_BUFFER_READONLY | GST_BUFFER_ORIGINAL;
+ GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_READONLY;
+ GST_BUFFER_FLAG_SET(buf) = GST_BUFFER_ORIGINAL;
GST_BUFFER_SIZE(buf) = size;
GST_BUFFER_MAXSIZE(buf) = size;
GST_BUFFER_OFFSET(buf) = offset;