mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
playbin2: fix old style raw A/V caps
They're now {audio,video}/x-raw, not {audio,video}/x-raw-* https://bugzilla.gnome.org/show_bug.cgi?id=668682
This commit is contained in:
parent
bc9b231905
commit
169c697114
1 changed files with 2 additions and 4 deletions
|
@ -3253,10 +3253,8 @@ sink_accepts_caps (GstElement * sink, GstCaps * caps)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static GstStaticCaps raw_audio_caps = GST_STATIC_CAPS ("audio/x-raw-int; "
|
||||
"audio/x-raw-float");
|
||||
static GstStaticCaps raw_video_caps = GST_STATIC_CAPS ("video/x-raw-rgb; "
|
||||
"video/x-raw-yuv; " "video/x-raw-gray");
|
||||
static GstStaticCaps raw_audio_caps = GST_STATIC_CAPS ("audio/x-raw");
|
||||
static GstStaticCaps raw_video_caps = GST_STATIC_CAPS ("video/x-raw");
|
||||
|
||||
/* We are asked to select an element. See if the next element to check
|
||||
* is a sink. If this is the case, we see if the sink works by setting it to
|
||||
|
|
Loading…
Reference in a new issue