gst/rtp/gstrtpmpvdepay.c: Set the mpegversion in the caps so that autoplugging does not get confused.

Original commit message from CVS:
* gst/rtp/gstrtpmpvdepay.c:
Set the mpegversion in the caps so that autoplugging does not get
confused.
This commit is contained in:
Wim Taymans 2007-08-10 16:10:47 +00:00
parent 71a8b2e7bc
commit e640bc6a4b
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-08-10 Wim Taymans <wim.taymans@gmail.com>
* gst/rtp/gstrtpmpvdepay.c:
Set the mpegversion in the caps so that autoplugging does not get
confused.
2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
* po/hu.po:

View file

@ -48,11 +48,14 @@ enum
ARG_0,
};
/* FIXME, we set the mpeg version to 2, we should ideally be looking at contents
* of the stream to figure out the version */
static GstStaticPadTemplate gst_rtp_mpv_depay_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/mpeg, systemstream = (boolean) FALSE")
GST_STATIC_CAPS
("video/mpeg, mpegversion = (int) 2, systemstream = (boolean) FALSE")
);
static GstStaticPadTemplate gst_rtp_mpv_depay_sink_template =