factory: change to new style caps

This commit is contained in:
Wim Taymans 2012-03-13 16:02:47 +01:00
parent 4c59e211e2
commit 377f6d9156

View file

@ -34,13 +34,10 @@ enum
#define RAW_VIDEO_CAPS \ #define RAW_VIDEO_CAPS \
"video/x-raw-yuv; " \ "video/x-raw"
"video/x-raw-rgb; " \
"video/x-raw-gray"
#define RAW_AUDIO_CAPS \ #define RAW_AUDIO_CAPS \
"audio/x-raw-int; " \ "audio/x-raw"
"audio/x-raw-float"
static GstStaticCaps raw_video_caps = GST_STATIC_CAPS (RAW_VIDEO_CAPS); static GstStaticCaps raw_video_caps = GST_STATIC_CAPS (RAW_VIDEO_CAPS);
static GstStaticCaps raw_audio_caps = GST_STATIC_CAPS (RAW_AUDIO_CAPS); static GstStaticCaps raw_audio_caps = GST_STATIC_CAPS (RAW_AUDIO_CAPS);