Updated for removed methods.

Original commit message from CVS:
Updated for removed methods.
This commit is contained in:
Wim Taymans 2001-05-27 14:39:17 +00:00
parent 5b436ccbe1
commit 9fcb8430cd
7 changed files with 2 additions and 7 deletions

View file

@ -38,6 +38,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline)
/* and an video sink */
videosink = gst_elementfactory_make("xvideosink", "play_video");
//videosink = gst_elementfactory_make("aasink", "play_video");
g_assert(videosink != NULL);
autoplug = gst_autoplugfactory_make ("staticrender");

View file

@ -36,8 +36,6 @@ int main(int argc,char *argv[])
osssink = gst_elementfactory_make("osssink", "play_audio");
g_assert(osssink != NULL);
gst_bin_use_cothreads (GST_BIN (bin), TRUE);
/* add objects to the main pipeline */
gst_bin_add(GST_BIN(bin), disksrc);
gst_bin_add(GST_BIN(bin), parse);

View file

@ -189,7 +189,6 @@ void mp2tomp1(GstElement *parser,GstPad *pad, GstElement *pipeline) {
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(smooth));
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(videoscale));
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(encode));
gst_bin_use_cothreads(GST_BIN(video_thread), FALSE);
// set up pad connections
gst_element_add_ghost_pad(GST_ELEMENT(video_thread),

View file

@ -173,7 +173,6 @@ mp2tomp1 (GstElement *parser, GstPad *pad, GstElement *pipeline)
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(smooth));
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(videoscale));
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(encode));
gst_bin_use_cothreads(GST_BIN(video_thread), FALSE);
// set up pad connections
gst_element_add_ghost_pad(GST_ELEMENT(video_thread),

View file

@ -141,7 +141,6 @@ void mpeg2parse_newpad(GstElement *parser,GstPad *pad, GstElement *pipeline) {
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(decode_video));
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(merge_subtitles));
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(show));
gst_bin_use_cothreads(GST_BIN(video_thread), FALSE);
// set up pad connections
gst_element_add_ghost_pad(GST_ELEMENT(video_thread),

View file

@ -38,6 +38,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline)
/* and an video sink */
videosink = gst_elementfactory_make("xvideosink", "play_video");
//videosink = gst_elementfactory_make("aasink", "play_video");
g_assert(videosink != NULL);
autoplug = gst_autoplugfactory_make ("staticrender");

View file

@ -36,8 +36,6 @@ int main(int argc,char *argv[])
osssink = gst_elementfactory_make("osssink", "play_audio");
g_assert(osssink != NULL);
gst_bin_use_cothreads (GST_BIN (bin), TRUE);
/* add objects to the main pipeline */
gst_bin_add(GST_BIN(bin), disksrc);
gst_bin_add(GST_BIN(bin), parse);