videodiff: fix supported formats in template caps

This commit is contained in:
Tim-Philipp Müller 2016-05-05 10:41:53 +01:00
parent b346be1c52
commit 19d52a4ed5

View file

@ -48,10 +48,10 @@ static GstFlowReturn gst_video_diff_transform_frame (GstVideoFilter * filter,
GstVideoFrame * inframe, GstVideoFrame * outframe); GstVideoFrame * inframe, GstVideoFrame * outframe);
#define VIDEO_SRC_CAPS \ #define VIDEO_SRC_CAPS \
GST_VIDEO_CAPS_MAKE("{ I420, Y444, Y42B, UYVY, RGBA }") GST_VIDEO_CAPS_MAKE("{ I420, Y444, Y42B, Y41B }")
#define VIDEO_SINK_CAPS \ #define VIDEO_SINK_CAPS \
GST_VIDEO_CAPS_MAKE("{ I420, Y444, Y42B, UYVY, RGBA }") GST_VIDEO_CAPS_MAKE("{ I420, Y444, Y42B, Y41B }")
G_DEFINE_TYPE_WITH_CODE (GstVideoDiff, gst_video_diff, GST_TYPE_VIDEO_FILTER, G_DEFINE_TYPE_WITH_CODE (GstVideoDiff, gst_video_diff, GST_TYPE_VIDEO_FILTER,