mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
gdp: Ported dataprotol to 0.9.
Original commit message from CVS: * configure.ac: * libs/gst/dataprotocol/Makefile.am: * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet): * libs/gst/dataprotocol/dataprotocol.h: * pkgconfig/Makefile.am: * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in: * pkgconfig/gstreamer-dataprotocol.pc.in: Ported dataprotol to 0.9. Added pkgconfig files.
This commit is contained in:
parent
9485580372
commit
9e03fd9fc0
2 changed files with 4 additions and 19 deletions
|
@ -103,8 +103,8 @@ gst_dp_dump_byte_array (guint8 * array, guint length)
|
||||||
*
|
*
|
||||||
* Initialize GStreamer Data Protocol library.
|
* Initialize GStreamer Data Protocol library.
|
||||||
*
|
*
|
||||||
* Should be called before using these functions; either from source linking
|
* Should be called before using these functions from source linking
|
||||||
* to this source file or from plugin_init.
|
* to this source file.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gst_dp_init (void)
|
gst_dp_init (void)
|
||||||
|
@ -586,18 +586,3 @@ gst_dp_validate_packet (guint header_length, const guint8 * header,
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** PLUGIN STUFF ***/
|
|
||||||
static gboolean
|
|
||||||
plugin_init (GstPlugin * plugin)
|
|
||||||
{
|
|
||||||
gst_dp_init ();
|
|
||||||
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
||||||
GST_VERSION_MINOR,
|
|
||||||
"gstdataprotocol",
|
|
||||||
"a data protocol to serialize buffers, caps and events",
|
|
||||||
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN)
|
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef GST_ENABLE_NEW
|
|
||||||
#ifndef __GST_DATA_PROTOCOL_H__
|
#ifndef __GST_DATA_PROTOCOL_H__
|
||||||
#define __GST_DATA_PROTOCOL_H__
|
#define __GST_DATA_PROTOCOL_H__
|
||||||
|
|
||||||
|
@ -53,6 +52,8 @@ typedef enum {
|
||||||
GST_DP_PAYLOAD_EVENT_NONE = 64,
|
GST_DP_PAYLOAD_EVENT_NONE = 64,
|
||||||
} GstDPPayloadType;
|
} GstDPPayloadType;
|
||||||
|
|
||||||
|
void gst_dp_init (void);
|
||||||
|
|
||||||
/* payload information from header */
|
/* payload information from header */
|
||||||
guint32 gst_dp_header_payload_length (const guint8 * header);
|
guint32 gst_dp_header_payload_length (const guint8 * header);
|
||||||
GstDPPayloadType
|
GstDPPayloadType
|
||||||
|
@ -98,5 +99,4 @@ gboolean gst_dp_validate_packet (guint header_length,
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GST_DATA_PROTOCOL_H__ */
|
#endif /* __GST_DATA_PROTOCOL_H__ */
|
||||||
#endif /* GST_ENABLE_NEW */
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue