/* 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");
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);
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),
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),
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),
/* 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");
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);