diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-10-29 18:05:28 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-10-29 18:05:28 +0000 |
commit | 3f56890cf9af23d1a643423e331487e91fbbf2da (patch) | |
tree | 47f20996218e3f57cecca433f32b5128e4e91dc6 /gst-libs/gst/play/play.old.c | |
parent | 9f2e8e0c1dd821b593c8fc1785956b0e9c992413 (diff) | |
download | gst-plugins-bad-3f56890cf9af23d1a643423e331487e91fbbf2da.tar.gz gst-plugins-bad-3f56890cf9af23d1a643423e331487e91fbbf2da.tar.bz2 gst-plugins-bad-3f56890cf9af23d1a643423e331487e91fbbf2da.zip |
adding audio
Original commit message from CVS:
adding audio
Diffstat (limited to 'gst-libs/gst/play/play.old.c')
-rw-r--r-- | gst-libs/gst/play/play.old.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c index 2d77367d..17913d09 100644 --- a/gst-libs/gst/play/play.old.c +++ b/gst-libs/gst/play/play.old.c @@ -322,6 +322,14 @@ gst_play_new (GstPlayPipeType pipe_type, GError **error) play->set_video_sink = gst_play_videots_set_video; play->set_audio_sink = gst_play_videots_set_audio; break; + case GST_PLAY_PIPE_AUDIO: + /* we can reuse the threaded set functions */ + play->setup_pipeline = gst_play_audio_setup; + play->teardown_pipeline = NULL; + play->set_autoplugger = gst_play_audiot_set_auto; + play->set_video_sink = NULL; + play->set_audio_sink = gst_play_audiot_set_audio; + break; case GST_PLAY_PIPE_AUDIO_THREADED: play->setup_pipeline = gst_play_audiot_setup; play->teardown_pipeline = NULL; |