mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
buffermeta: fix compilation
This commit is contained in:
parent
8e4ab802f9
commit
45645a11a1
3 changed files with 6 additions and 1 deletions
|
@ -210,6 +210,7 @@ gst_buffer_join
|
|||
gst_buffer_merge
|
||||
|
||||
GstBufferMeta
|
||||
GST_BUFFER_META_TRACE_NAME
|
||||
|
||||
gst_buffer_get_meta
|
||||
gst_buffer_remove_meta
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
*/
|
||||
#include "gst_private.h"
|
||||
|
||||
#include "gstbuffermeta.h"
|
||||
#include "gstbuffer.h"
|
||||
#include "gstbuffermeta.h"
|
||||
#include "gstinfo.h"
|
||||
#include "gstutils.h"
|
||||
|
||||
|
|
|
@ -112,6 +112,10 @@ test_sub_func (GstBuffer * sub, GstTestMeta * meta, GstBuffer * buffer,
|
|||
/* else clear */
|
||||
test->duration = GST_CLOCK_TIME_NONE;
|
||||
}
|
||||
} else {
|
||||
test->pts = -1;
|
||||
test->dts = -1;
|
||||
test->duration = -1;
|
||||
}
|
||||
test->clock_rate = meta->clock_rate;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue