Commit 321acd14 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

rtp: move VP8 payloader and depayloader from -bad

Spec is still in draft state, but should hopefully not
change much now. Besides, we announce things as VP8-DRAFT-IETF-01
in our caps, so even if things change in incompatible ways it
should not break anything.

https://bugzilla.gnome.org/show_bug.cgi?id=687263
parent 44efab8e
plugin_LTLIBRARIES = libgstrtp.la plugin_LTLIBRARIES = libgstrtp.la
libgstrtp_la_SOURCES = \ libgstrtp_la_SOURCES = \
dboolhuff.c \
fnv1hash.c \ fnv1hash.c \
gstrtp.c \ gstrtp.c \
gstrtpchannels.c \ gstrtpchannels.c \
...@@ -70,10 +71,13 @@ libgstrtp_la_SOURCES = \ ...@@ -70,10 +71,13 @@ libgstrtp_la_SOURCES = \
gstrtptheorapay.c \ gstrtptheorapay.c \
gstrtpvorbisdepay.c \ gstrtpvorbisdepay.c \
gstrtpvorbispay.c \ gstrtpvorbispay.c \
gstrtpvp8depay.c \
gstrtpvp8pay.c \
gstrtpvrawdepay.c \ gstrtpvrawdepay.c \
gstrtpvrawpay.c gstrtpvrawpay.c
libgstrtp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) libgstrtp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
$(GST_CFLAGS) -Dvp8_norm=gst_rtpvp8_vp8_norm
libgstrtp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \ libgstrtp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
-lgstaudio-@GST_API_VERSION@ \ -lgstaudio-@GST_API_VERSION@ \
-lgstvideo-@GST_API_VERSION@ \ -lgstvideo-@GST_API_VERSION@ \
...@@ -86,6 +90,7 @@ libgstrtp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) ...@@ -86,6 +90,7 @@ libgstrtp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstrtp_la_LIBTOOLFLAGS = --tag=disable-static libgstrtp_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \ noinst_HEADERS = \
dboolhuff.h \
fnv1hash.h \ fnv1hash.h \
gstrtpchannels.h \ gstrtpchannels.h \
gstrtpL16depay.h \ gstrtpL16depay.h \
...@@ -154,9 +159,13 @@ noinst_HEADERS = \ ...@@ -154,9 +159,13 @@ noinst_HEADERS = \
gstrtptheorapay.h \ gstrtptheorapay.h \
gstrtpvorbisdepay.h \ gstrtpvorbisdepay.h \
gstrtpvorbispay.h \ gstrtpvorbispay.h \
gstrtpvp8depay.c \
gstrtpvp8pay.c \
gstrtpvrawdepay.h \ gstrtpvrawdepay.h \
gstrtpvrawpay.h gstrtpvrawpay.h
EXTRA_DIST = dboolhuff.LICENSE
Android.mk: Makefile.am $(BUILT_SOURCES) Android.mk: Makefile.am $(BUILT_SOURCES)
androgenizer \ androgenizer \
-:PROJECT libgstrtp -:SHARED libgstrtp \ -:PROJECT libgstrtp -:SHARED libgstrtp \
......
...@@ -87,6 +87,8 @@ ...@@ -87,6 +87,8 @@
#include "gstrtptheorapay.h" #include "gstrtptheorapay.h"
#include "gstrtpvorbisdepay.h" #include "gstrtpvorbisdepay.h"
#include "gstrtpvorbispay.h" #include "gstrtpvorbispay.h"
#include "gstrtpvp8depay.h"
#include "gstrtpvp8pay.h"
#include "gstrtpvrawdepay.h" #include "gstrtpvrawdepay.h"
#include "gstrtpvrawpay.h" #include "gstrtpvrawpay.h"
...@@ -291,6 +293,12 @@ plugin_init (GstPlugin * plugin) ...@@ -291,6 +293,12 @@ plugin_init (GstPlugin * plugin)
if (!gst_rtp_vorbis_pay_plugin_init (plugin)) if (!gst_rtp_vorbis_pay_plugin_init (plugin))
return FALSE; return FALSE;
if (!gst_rtp_vp8_depay_plugin_init (plugin))
return FALSE;
if (!gst_rtp_vp8_pay_plugin_init (plugin))
return FALSE;
if (!gst_rtp_vraw_depay_plugin_init (plugin)) if (!gst_rtp_vraw_depay_plugin_init (plugin))
return FALSE; return FALSE;
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstrtpvp8pay.h"
#include "gstrtpvp8depay.h"
static gboolean
plugin_init (GstPlugin *plugin)
{
gst_rtp_vp8_depay_plugin_init (plugin);
gst_rtp_vp8_pay_plugin_init (plugin);
return TRUE;
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
rtpvp8,
"rtpvp8",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment