mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
still does not work ;(
Original commit message from CVS: still does not work ;(
This commit is contained in:
parent
1f96ea4847
commit
5eb408254e
1 changed files with 7 additions and 1 deletions
|
@ -52,8 +52,14 @@ main (int argc, char *argv[])
|
|||
"input audio",
|
||||
"audio/raw",
|
||||
"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_print ("Setting caps on fakesrc's src pad\n");
|
||||
if (! (gst_pad_try_set_caps (gst_element_get_pad (src, "src"), caps)))
|
||||
|
|
Loading…
Reference in a new issue