mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
58592a2af3
commit
98e0dec715
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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; " \
|
||||
|
|
Loading…
Reference in a new issue