playback: add ANY caps features to default audio/video raw caps

Allows elements using audio/video caps features to be used by playbin.
This commit is contained in:
Matthieu Bouron 2013-12-10 15:19:14 +00:00 committed by Sebastian Dröge
parent 58592a2af3
commit 98e0dec715
2 changed files with 4 additions and 4 deletions

View file

@ -589,8 +589,8 @@ enum
LAST_SIGNAL
};
static GstStaticCaps raw_audio_caps = GST_STATIC_CAPS ("audio/x-raw");
static GstStaticCaps raw_video_caps = GST_STATIC_CAPS ("video/x-raw");
static GstStaticCaps raw_audio_caps = GST_STATIC_CAPS ("audio/x-raw(ANY)");
static GstStaticCaps raw_video_caps = GST_STATIC_CAPS ("video/x-raw(ANY)");
static void gst_play_bin_class_init (GstPlayBinClass * klass);
static void gst_play_bin_init (GstPlayBin * playbin);

View file

@ -26,8 +26,8 @@
G_BEGIN_DECLS
#define DEFAULT_RAW_CAPS \
"video/x-raw; " \
"audio/x-raw; " \
"video/x-raw(ANY); " \
"audio/x-raw(ANY); " \
"text/x-raw; " \
"subpicture/x-dvd; " \
"subpicture/x-dvb; " \