gst/videorate/gstvideorate.c: Handle all video formats. Fixes #159186.

Original commit message from CVS:
* gst/videorate/gstvideorate.c:
Handle all video formats. Fixes #159186.
This commit is contained in:
Thomas Vander Stichele 2004-11-23 12:39:27 +00:00
parent 75add92575
commit 2763a345fc
2 changed files with 9 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2004-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/videorate/gstvideorate.c:
Handle all video formats. Fixes #159186.
2004-11-16 Jan Schmidt <thaytan@mad.scientist.com>
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init), (gst_synaesthesia_init),

View file

@ -22,7 +22,6 @@
#endif
#include <gst/gst.h>
#include <gst/video/video.h>
GST_DEBUG_CATEGORY (videorate_debug);
#define GST_CAT_DEFAULT videorate_debug
@ -94,19 +93,17 @@ enum
};
static GstStaticPadTemplate gst_videorate_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("{ YUY2, I420, YV12, YUYV, UYVY }")
)
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb")
);
static GstStaticPadTemplate gst_videorate_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("{ YUY2, I420, YV12, YUYV, UYVY }")
)
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb")
);
static void gst_videorate_base_init (gpointer g_class);