From: Matthieu Bouron Date: Tue, 10 Dec 2013 15:19:14 +0000 (+0000) Subject: playback: add ANY caps features to default audio/video raw caps X-Git-Tag: 1.3.1~284 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98e0dec7151bb8798c783f43bc2b963ce1089c51;p=platform%2Fupstream%2Fgst-plugins-base.git playback: add ANY caps features to default audio/video raw caps Allows elements using audio/video caps features to be used by playbin. --- diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 1805437..f78fbad 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -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); diff --git a/gst/playback/gstrawcaps.h b/gst/playback/gstrawcaps.h index 65e1514..278c907 100644 --- a/gst/playback/gstrawcaps.h +++ b/gst/playback/gstrawcaps.h @@ -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; " \