mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
various Wall fixes
Original commit message from CVS: various Wall fixes
This commit is contained in:
parent
5f5faa2f98
commit
8c43b5fd9b
3 changed files with 8 additions and 8 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 6148068f2318e85d8e66df485342b630d8fb49ac
|
||||
Subproject commit d8fa5431e3f6f1b9c8be36bad079719a6c4b529a
|
|
@ -42,9 +42,9 @@ int main(int argc, char **argv)
|
|||
gst_bin_add(GST_BIN(pipeline), pod);
|
||||
gst_bin_add(GST_BIN(pipeline), osssink);
|
||||
|
||||
gst_element_connect(src, "src", mad, "sink");
|
||||
gst_element_connect(pod, "src", osssink, "sink");
|
||||
gst_element_connect(mad, "src", pod, "sink");
|
||||
gst_element_connect(src, mad);
|
||||
gst_element_connect(pod, osssink);
|
||||
gst_element_connect(mad, pod);
|
||||
|
||||
gst_element_set_state(pipeline, GST_STATE_PLAYING);
|
||||
|
||||
|
|
|
@ -52,10 +52,10 @@ int main(int argc, char **argv)
|
|||
gst_bin_add(GST_BIN(pipeline), stereo2mono);
|
||||
gst_bin_add(GST_BIN(pipeline), speed);
|
||||
gst_bin_add(GST_BIN(pipeline), osssink);
|
||||
gst_element_connect(filesrc, "src", mad, "sink");
|
||||
gst_element_connect(mad, "src", stereo2mono, "sink");
|
||||
gst_element_connect(stereo2mono, "src", speed, "sink");
|
||||
gst_element_connect(speed, "src", osssink, "sink");
|
||||
gst_element_connect(filesrc, mad);
|
||||
gst_element_connect(mad, stereo2mono);
|
||||
gst_element_connect(stereo2mono, speed);
|
||||
gst_element_connect(speed, osssink);
|
||||
gtk_object_set(GTK_OBJECT(filesrc), "location", argv[1], NULL);
|
||||
|
||||
gst_element_set_state(pipeline, GST_STATE_PLAYING);
|
||||
|
|
Loading…
Reference in a new issue