still does not work ;(

Original commit message from CVS:
still does not work ;(
This commit is contained in:
Thomas Vander Stichele 2002-02-19 20:19:36 +00:00
parent 1f96ea4847
commit 5eb408254e

View file

@ -52,8 +52,14 @@ main (int argc, char *argv[])
"input audio", "input audio",
"audio/raw", "audio/raw",
"format", GST_PROPS_STRING ("int"), "format", GST_PROPS_STRING ("int"),
"rate", GST_PROPS_INT (44100) "rate", GST_PROPS_INT (44100),
"width", GST_PROPS_INT (16),
"depth", GST_PROPS_INT (16),
"law", GST_PROPS_INT (1),
"signed", GST_PROPS_BOOLEAN (TRUE),
"channels", GST_PROPS_INT (1)
); );
caps->fixed = TRUE;
g_assert (caps != NULL); g_assert (caps != NULL);
g_print ("Setting caps on fakesrc's src pad\n"); g_print ("Setting caps on fakesrc's src pad\n");
if (! (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), caps))) if (! (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), caps)))