summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua N. Pritikin <vishnu@pobox.com>2003-07-22 09:09:27 +0000
committerJoshua N. Pritikin <vishnu@pobox.com>2003-07-22 09:09:27 +0000
commit9cb5104b0a94dda0078a5777c83af98f2b1e2c72 (patch)
tree89d35ecaac1219582ce0193be6a2008fc3c0970e
parent6a7a00b097f28db3e4a4883220322b06a5de6343 (diff)
downloadgst-plugins-bad-9cb5104b0a94dda0078a5777c83af98f2b1e2c72.tar.gz
gst-plugins-bad-9cb5104b0a94dda0078a5777c83af98f2b1e2c72.tar.bz2
gst-plugins-bad-9cb5104b0a94dda0078a5777c83af98f2b1e2c72.zip
Fix another instance of audio/raw -> audio/x-raw-int and video/raw -> video/x-raw-{yuv,rgb}. There probably should b...
Original commit message from CVS: Fix another instance of audio/raw -> audio/x-raw-int and video/raw -> video/x-raw-{yuv,rgb}. There probably should be a audio/x-raw-float for jacksink but I didn't add that.
-rw-r--r--gst-libs/gst/play/play.old.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c
index bd73df79..269d919a 100644
--- a/gst-libs/gst/play/play.old.c
+++ b/gst-libs/gst/play/play.old.c
@@ -882,12 +882,15 @@ gst_play_get_sink_element (GstPlay * play,
{
gboolean has_video_cap = FALSE, has_audio_cap = FALSE;
if (g_ascii_strcasecmp (gst_caps_get_mime (caps),
- "audio/raw") == 0)
+ "audio/x-raw-int") == 0)
{
has_audio_cap = TRUE;
}
- if (g_ascii_strcasecmp (gst_caps_get_mime (caps),
- "video/raw") == 0)
+ if ((g_ascii_strcasecmp (gst_caps_get_mime (caps),
+ "video/x-raw-yuv") == 0) ||
+ (g_ascii_strcasecmp (gst_caps_get_mime (caps),
+ "video/x-raw-rgb") == 0))
+
{
has_video_cap = TRUE;
}