From: Joshua P. <jpr...@us...> - 2003-07-22 09:09:40
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: jpritikin Date: Tue Jul 22 2003 02:09:39 PDT Log message: 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. Modified files: gst-libs/gst/play: play.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst-libs/gst/play/play.c.diff?r1=1.28&r2=1.29 ====Begin Diffs==== Index: play.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/gst-libs/gst/play/play.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- play.c 12 Jul 2003 09:18:31 -0000 1.28 +++ play.c 22 Jul 2003 09:09:27 -0000 1.29 @@ -882,12 +882,15 @@ { 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; } |