mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
wrap header in _NEW
Original commit message from CVS: wrap header in _NEW
This commit is contained in:
parent
9d6380dbfc
commit
8f6b611ee7
4 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac:
|
||||
* libs/gst/dataprotocol/Makefile.am:
|
||||
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps):
|
||||
* libs/gst/dataprotocol/dataprotocol.h:
|
||||
wrap header in GST_ENABLE_NEW. make code use it
|
||||
|
||||
2004-05-23 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* tools/gst-inspect.c (main): Cleanup most parts of it, don't be
|
||||
|
|
|
@ -24,7 +24,7 @@ dnl - library source changed -> increment REVISION
|
|||
dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
|
||||
dnl - interfaces added -> increment AGE
|
||||
dnl - interfaces removed -> AGE = 0
|
||||
AS_LIBTOOL(GST, 1, 0, 0)
|
||||
AS_LIBTOOL(GST, 2, 0, 1)
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AC_CONFIG_SRCDIR([gst/gst.c])
|
||||
|
|
|
@ -13,7 +13,8 @@ noinst_HEADERS = dp-private.h
|
|||
libgstdataprotocol_la_SOURCES = \
|
||||
dataprotocol.c
|
||||
|
||||
libgstdataprotocol_la_CFLAGS = $(GST_OBJ_CFLAGS) -I$(top_srcdir)/libs
|
||||
# remove GST_ENABLE_NEW when dataprotocol has been declared API-stable
|
||||
libgstdataprotocol_la_CFLAGS = $(GST_OBJ_CFLAGS) -I$(top_srcdir)/libs -DGST_ENABLE_NEW
|
||||
libgstdataprotocol_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(as_libtool_LDFLAGS)
|
||||
libgstdataprotocol_la_LIBADD = $(GST_OBJ_LIBS)
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifdef GST_ENABLE_NEW
|
||||
#ifndef __GST_DATA_PROTOCOL_H__
|
||||
#define __GST_DATA_PROTOCOL_H__
|
||||
|
||||
|
@ -98,4 +99,5 @@ gboolean gst_dp_validate_packet (guint header_length,
|
|||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_DATA_PROTOCOL_H__ */
|
||||
#endif /* GST_ENABLE_NEW */
|
||||
|
||||
|
|
Loading…
Reference in a new issue