mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
buffer: explicitly cast to the enum type
Fixes warning #188: enumerated type mixed with another type reported by ICC. https://bugzilla.gnome.org/show_bug.cgi?id=656265
This commit is contained in:
parent
2271b6dc9a
commit
c56881a026
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ typedef enum {
|
||||||
*
|
*
|
||||||
* Since: 0.10.13
|
* Since: 0.10.13
|
||||||
*/
|
*/
|
||||||
#define GST_BUFFER_COPY_ALL (GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS | GST_BUFFER_COPY_CAPS)
|
#define GST_BUFFER_COPY_ALL ((GstBufferCopyFlags) (GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS | GST_BUFFER_COPY_CAPS))
|
||||||
|
|
||||||
/* copies metadata into newly allocated buffer */
|
/* copies metadata into newly allocated buffer */
|
||||||
void gst_buffer_copy_metadata (GstBuffer *dest, const GstBuffer *src,
|
void gst_buffer_copy_metadata (GstBuffer *dest, const GstBuffer *src,
|
||||||
|
|
Loading…
Reference in a new issue